Smart Token
Token building with fee rules on stablecoins, buybacks with or without burn, antidump controls, whitelist controls, and administration levels.
Copy and modify: Copy the sample code and make the necessary changes as instructed in this documentation. Always do your tests using the testnet network before publishing on mainnet.
Smart Token code
Attention: Note that despite the same code structure, the added address information varies and is never repeated on the mainnet and testnet.
Understand the parameters
CONNECT
https://dapp.tokenbank.exchange/
Request Body
Name | Type | Description |
---|---|---|
name* | string | Token Name |
symbol* | string | Token Symbol |
totalSupply* | int | Integer value with the total Supply generated when creating the token, do not use decimal places. |
router* | String | Router contract address of the DEX used |
owner* | String | Smart contract owner wallet address |
antiDump * | int | maximum amount allowed for sale, after adding liquidity and if the lock is activated by the contract administrator |
feePool* | int | % of fee converted to stablecoin and sent back to smart contract, replace "%" sign with "00", i.e. 2% would be 200 |
feeAdm* | int | % of fee converted to stablecoin and sent to admin, replace "%" sign with "00", i.e. 5% would be 500 |
pair* | String | Address of the LP Token of the liquidity pool integrated into the contract, to obtain this address just add a few cents of liquidity dollars with the native currency of the blockchain used / chosen stablecoin... |
stable* | String | Stable coin smart contract address or token used to hold the fees applied to the contract e.g. BUSD, USDT, USDC, CAKE |
wrapped * | String | Wrapped native token smart contract address, e.g. WBNB, WETH, WAVAX, WMATIC |
LP Token Address: Address of the LP Token of the liquidity pool integrated into the contract, to obtain this address just add a few cents of liquidity dollars with the native currency of the blockchain used / chosen stablecoin. Example: When adding liquidity to Pancakeswap using the pair BNB / BUSD , you will receive an amount of LPTokens for this pool, this will be the address of the liquidity pool you should use...
Last updated