Add an address to the token allowlist
A step-by-step guide to add an address to your token allowlist
Background
Your P00LS token is minted with limited transferability by default. This means only a pre-defined set of addresses can send and receive your tokens. This set of address is referred to as the token allowlist.
Any address that is not on the allowlist can only earn tokens and send them to addresses on the allowlist. Addresses on the allowlist can receive and send tokens to and from everyone.
Process
To add an address to your token allowlist, follow these steps:
Go to https://creators.p00ls.io and click on the link to PolygonScan
On PolygonScan, copy your token smart contract address
Open https://polygonscan.com/proxyContractChecker and paste your token smart contract address. Click on
Verify
.Click on
Save
then click on the proxy smart contract to get to the linked PolygonScan page.On the proxy smart contract PolygonScan page, click on
Contract
thenRead Contract.
Go to smart contract function #4
WHITELISTED
and copy the value. This is a constant you'll need to call the allowlist function.Go on
Write Contract
and click onConnect to web3.
Login with the wallet that owns the rights to the token (usually, the one you minted it with) using your browser wallet.
Once your wallet connected, scroll down to smart contract function #7
grantRole
then paste the WHITELISTED constant you've copied in step 6 underRole
and past the address you'd like to add to the allowlist underaccount
.Click on
Write
then validate the operation with your browser wallet. You will have to pay a small gas feeOnce the transaction is validated, the address will be added to the allowlist and will be able to send and receive tokens to and from anyone 🎉
Last updated