A decentralized application (dApp) for participating in a token presale on the Sonic Testnet. Users can purchase tokens using S or USDT and claim their tokens after the presale ends.
- Connect Wallet: Users can connect their Web3 wallet to interact with the dApp.
- Token Selection: Choose between S or USDT as the payment token.
- Claim Tokens: After the presale concludes, participants can claim their purchased tokens.
-
Connect to the dApp:
- Users connect their wallet to the Sonic testnet.
-
Choose Payment Token:
- Select either S or USDT to purchase tokens.
-
Buy Tokens:
- Enter the desired amount and confirm the transaction.
-
Claim Tokens:
- Once the presale ends, participants return to the dApp to claim their purchased tokens.
- A Web3 wallet (e.g., MetaMask) configured for the Sonic testnet.
- Test S and USDT tokens for transactions.
-
Clone this repository:
git clone https://github.com/XerxesCoder/token-presale.git
-
Navigate to the project directory:
cd token-presale
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the dApp in your browser:
http://localhost:3000
Deploy the dApp on your preferred hosting platform (e.g., Vercel, Netlify).
- Boom Token Contract Address: 0x3a70129725b3acA9ddBB9D222284DB814A2cE8C9
- Presale Contract Address: 0x6f5141c96fB92007f371a600FA191FF02626a0cC
- Mock USDT Contract Address: 0x65f0196d0823717F330837E59860B0448888334F
All contracts are verified, and you can interact with them through SonicScan.
- Next.js
- Tailwind CSS
- Wagmi
- Viem
- ConnectKit
This project is licensed under the MIT License.
- E-mail: xerxescode@gmail.com
- Telegram: t.me/xerxescoder
Don't forget to give this repository a ⭐ on GitHub if you find it helpful!