This is a simple token sale contract with fixed parameters and referral program. Contract will send tokens in exchange of BNB.
Buyers can purchase tokens by sending BNB to contract address or using user interface (you will be able to download a simple draft UI with main functions, QR code and auto-generated referral links after creating a token sale contract).
Contract correctly processes changes and decimals and automatically stops selling tokens once required quantity has been sold out.
You can use it with any (BEP-20) token.
Users can get referral link and share it to earn referral commission. Commission is paid immediately to referrer's wallet once a buyer has purchased tokens using referral link.
Once you have created token sale contract don't forget to Approve it for selling tokens from your wallet (you will be able to do it in the contract's admin panel). Do not send tokens to the contract, make sure you have enough balance of the tokens in your wallet (contract is selling tokens from your wallet by allowance way)!
(Mainnet and Testnet available)
Token address: Contract address of the token that you want to sell
[show my tokens]
Tokens quantity:
Maximum quantity of tokens for sale. After selling this quantity contract will stop selling.
Remember to approve sale contract for this quantity after it's creation.
Referral commission:
%
Commission to be paid from each referred token purchase. Paid instantly to referrer's wallet.
Price per token: BNB Selling price for 1 token (how much 1 token will cost - please make sure you input the right price).
Only tokens created on this platform are shown here but you can use any valid (BEP-20) token
If you can't see your token here please input its contract address manually
#
Address
Name
Symbol
Choose
×
Token sale contract
View on blockchain explorer:
Total sale quantity:
Token price: BNB
Tokens sold:
Total raised: BNB
Unsold tokens:
Token address:
View on blockchain explorer:
Token name:
Token symbol:
Token decimals:
Token sale status:
Referral commission: %
Total paid to referrers: BNB
Balance: BNB
Withdraw: BNB
×
Token sale UI
You can download front-end HTML file and edit the file after downloading, or order some design on top of it.
Please keep the scripts, IDs and classes otherwise some important functions may not work properly.
Just upload index.html file to your website - and your very own token sale is live!
<div style="text-align: center">
<h2>Token info</h2>
<p><span id="tokenName"></span> (<span id="tokenSymbol"></span>)</p>
<p><a target="_blank" href="" id="tokenAddress"></a></p>
<!-- Reserved in case you want to show decimals and total supply: <span id="#tokenDecimalsUI"></span> <span id="#tokenSupplyUI"></span>-->
<p><button id="addToken" style="text-align: center">Add to wallet</button></p>
</div>
<div style="text-align: center">
<h2>Sale contract</h2>
<p>You can also buy tokens by sending BNB to this contract (gas limit min. 200000):</p>
<p><a href="" target="_blank" id="saleAddress"></a> <button id="copyaddress">Copy address</button></p>
<div style="text-align: center" id="saleqr"></div>
<p style="text-align: center"><a style="text-decoration: none" id="saled" href="" download>Download QR</a></p>
</div>
<hr>
<div style="text-align: center">
<h2>Referral program</h2>
<p>Share your referral link and get paid instantly to your wallet for every referred token purchase.</p>
<p>Total paid to referrers: <span id="refTotal"></span> BNB</p>
<p>Referral commission: <span id="refPercent"></span>%</p>
<p>Your referral earnings: <span id="refMy"></span> BNB</p>
<p>Share your referral link or QR code and get commission for referred token purchases instantly to your wallet.</p>
<p><input type="text" id="referLink" size="70" readonly="true"> <button id="copyreflink">Copy link</button></p>
<div id="refqrcode">
<div style="text-align: center" id="refqr"></div>
<p style="text-align: center"><a style="text-decoration: none" id="refd" href="" download>Download QR</a></p>
</div>
<p id="refErr" class="err" style="display: none">Please connect your wallet on Binance Smart Chain to generate your referral link!</p>
</div>