Referral Code Registration Tool
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Referral Code Registration Tool is a non-custodial tool that registers unique referral codes on-chain for users to share and earn rewards from referrals. It reads referral code contract state, user address, token balances, existing referral codes, referral code availability, code registration fee, platform fee, code format rules, code expiration, user's registered codes, code validation status, and registration window to structure the optimal registration operation. With a single transaction, it calls registerReferralCode(), setReferralCode(), or executeReferralRegistration() on the target contract, creating a unique referral code linked to the user's address. The tool handles code validation, fee payment (if required), and automatically detects which registration function is available on the contract. Registered codes can be shared with others to earn referral rewards when they use the code.
HOW TO USE
1. Connect your wallet (EVM-compatible).
2. Paste the referral code contract address.
3. Enter your desired referral code (e.g., "ABC123").
4. Optionally specify a token address if fees are paid in tokens (leave empty for native).
5. Optionally enter a referrer address if registering under someone.
6. Review the code availability, registration fee, platform fee, and your registered codes.
7. Click "register referral code" and confirm the transaction in your wallet.
The tool checks code availability and validates the code format before execution. After the transaction confirms, your referral code is registered on-chain—no centralized custody, no intermediaries. You can now share your code with others to earn referral rewards.
TECHNICAL MECHANISM: MULTI-FUNCTION FALLBACK WITH CODE VALIDATION
Unlike simple transaction builders that assume a single function signature, this tool implements a multi-function fallback strategy. It first attempts registerReferralCode(), then falls back to setReferralCode() or executeReferralRegistration() if the primary method fails—automatically adapting to different contract implementations without requiring the user to know the exact function name. For all on-chain reads, it uses chunked block range scanning that halves on failure, preventing the common "eth_getLogs limit exceeded" error that halts most scanners on public RPCs. It double-verifies code availability by checking both the current registered codes mapping and validation status from storage, rather than relying on historical events—because an event log proves a code was previously registered, not that the current code is available. Gas estimation uses receipt.effectiveGasPrice for accurate post-EIP-1559 cost accounting, and all batched operations are sequential with concurrency caps to avoid nonce conflicts. The tool also validates that the referral code meets minimum length requirements and checks for fee requirements before execution.
WHAT IT CANNOT SEE
This tool cannot verify that the referral code contract is legitimate or has not been compromised. It cannot detect if the platform has been manipulated or has hidden fees. It cannot ensure that registration will execute at the optimal gas price due to network conditions. It cannot guarantee that registration will succeed if the referral contract is paused or frozen. It cannot verify that the contract has not been upgraded or modified. It cannot detect if the trade path is optimal or not front-run. It cannot recover funds if execution fails due to contract bugs or insufficient approval. It cannot verify that the referral code is unique or valid. It cannot predict market movements, price gaps, or flash crashes. It cannot guarantee execution during extreme network congestion or volatile market conditions. It cannot detect if the underlying protocol has been compromised. It cannot prevent the user from canceling or modifying registration parameters. It cannot ensure that the referral code will be accepted by the contract's validation rules. It cannot protect against loss if registration fee is paid for an invalid code. It cannot verify that the code meets platform guidelines. It cannot guarantee that the code will be discoverable by others. It cannot ensure that registration will be processed in order.
PLEASE NOTE
This tool operates only on EVM-compatible chains (Ethereum, Polygon, Arbitrum, Optimism, etc.). It is non-custodial—you retain full control of your funds at all times. Always verify contract addresses and code parameters before executing. Registration fees may be required and are non-refundable. Referral codes must be unique—if your code is taken, you will need to choose another. Some contracts may have code format restrictions (e.g., alphanumeric only, minimum length). The tool is provided as-is; use at your own risk.