ERC20 tokens trading
Last updated
Last updated
Envelop launchpad allows the owners to trade ERC20 tokens. The mechanics of the sale are as follows: the showcase owner creates wrapped NFTs. They add in the collateral of them the tradable ERC20 tokens. Then place wrapped NFTs to the showcases, put the prices. The buyers purchase wrapped NFTs and unwrap them to get ERC20 tokens from the collateral.
We will show how to use Envelop launchpad for the ERC20 tokens trading in this guide. We will use Google Chrome Browser, Metamask browser extension, Sepolia testnet for the demoing. To start to use the dapp user should connect to it by your wallet.
Step 0. Open https://app.envelop.is/launchpad_admin
Step 1. Connect wallet
Step 2. Choose Metamask
Step 3. Choose an account in the wallet
Step 4. Confirm the allowance for dapp to use the account
Step 5. Before the using of the launchpad we should create showcase where buyers will be able to buy your ERC20 tokens.
Press create button
Step 6. Fill in all fields of the form. Be carefull with the title and life time. The first one is the unique part of the link that buyers will enter in a browser to visit your showcase (the example of the finish showcase url: https://app.envelop.is/launchpad/11155111/0x379bf612a830413c6a08d2732b6afd491a12955b/showcase-wNFT). The second one is responsible for the start and finish time of the sale.
Step 7. Press Save button
Step 8. Sign the transaction in the crypto wallet.
Step 9. Sign the message in the crypto wallet.
We have created the own showcase
Step 0. Only owner can change the showcase settings. Go to the step Showcase. Edit the data in all fields of the forms.
Step 1. Press save button
Step 2. Sign the transaction in the wallet
Step 3. Sign the message in the crypto wallet for the envelop oracle.
Step 0. Envelop launchpad allows the owners to put the prices for tradable ERC20 tokens.
There are two ways of the price putting. The first way is the default price putting using step three. The owner puts how many tokens one unit of ERC20 tokens will cost and which tokens the buyers will be able to use to pay.
Pay attention! This way allows to put the price only for wrapped NFTs with one tradable ERC20 token in collateral. For example the owner want to trade only Niftsy tokens via wrapped NFTs. He can add in the collateral other ERC20 tokens except for Niftsy. But they will not be factored in the final price of wrapped NFTs. The tradable ERC20 tokens for this way should be placed the first in the collateral. Remember about it when you will create wrapped NFT with the collateral.
The final price of wrapped NFT is calculated as the multiplying the number of tradable tokens in its collateral by the price per the unit of tradable token.
The prices can be in native or ERC20 tokens. The showcase can have several prices per the unit of the tradable token. For example the buyers will be able to buy wrapped NFT per different stable coins if owner puts several prices in the stable coins per the unit of the tradable tokens placed in its collateral.
Step 1. Put the several prices. Choose the tradable token from the list or fill in its smart contract address.
Step 2. Choose the price token from the list and enter amount per the unit of tradable ERC20 token. Don't forget to press Add button for every price.
Step 3. To save changes in the blockchain press Save button.
Step 4. Sign the transaction in the wallet
Step 5. Check our changes on Price tab. They are applied.
Step 0. Envelop launchpad allows an owners to put time discounts. Owner can put the several time period with the different values of the discounts
Set the several time discounts. Enter an amount and choose the date for which the discount value is valid . Don't forget press Add button for every discount line.
Step 1. Press Save button
Step 2. Sign the transaction in the wallet
Step 3. Check our changes on Discount tab. They are applied
Step 0. The next step is the placing the wrapped NFTs on the showcase. Only showcase owner have the permissions to do it.
Select the wrapped NFTs which we want to sell on the showcase.
The dAPP gives the possibility to select the wrapped NFTs by the collateral tokens.
The owner can see which tokens were added in the wrapped NFT.
The owner can pick the several wrapped NFTs by using the range of the token ids and the smart contract address.
The owner can add the wrapped NFTs on the showcase by the batches with the different settings. Make it created two batches.
Step 1. Put the individual prices for the wrapped NFTs of the second batch. It is the second way of the price putting. The owner puts the final prices for the wrapped NFTs generally. This way is fit in case when the owner created the index based on wrapped NFT technology with the several collateral tokens inside it. The owner can create the different collections of tradable ERC20 tokens via the wrapped NFTs and put for them the individual prices.
Step 2. Don't forget to press Save price button
Step 3. Press save button
Step 4. Sign the approve transaction in the wallet the smart contract of launchpad can use the owner's wrapped NFTs
Step 5. Sign the transactions of the placing wrapped NFTs on the showcase in the wallet. The owner should sign two transactions because he has collected two the wrapped NFT batches for the placing.
Step 6. After that the owner's wrapped NFTs are placed on the showcase.
Step 0. The owner can edit the prices for any time. Edit the default prices put for whole showcase on Price tab.
Step 1. Don't forget to press Save button for every price that is changed.
Step 2. Press save button.
Step 3. Sign the transactions in the wallet.
Step 4. Check the changes on the showcase.
Step 5. Pay attention! The owner can change prices for any wrapped NFT that has only the default prices to the individual prices. Go to NFTs tab.
Step 6. Add the individual prices for the wrapped NFT. Don't forget to press Add and Save buttons
Step 7. Press save button
Step 8. Sign the transactions in the wallet
Step 9. Check the changes on the showcase.
Now the wrapped NFT has individual prices.
Step 0. Envelop launchpad has the functional of the prices deleting. Try to do it with the common for whole showcase prices on Price tab.
Delete the several prices and save the changes.
Step 1. Press save button.
Step 2. Sign the transaction of the deleting in the wallet.
Step 3. Check our changes. They are applied
Step 4. The owner can delete the individual prices of one wrapped NFT per an operation on NFTs tab.
Try to do it for one wrapped NFT.
Step 5. Press Save price button
Step 6. Press Save button
Step 7. Sign the transaction of the deleting in the wallet.
Step 8. Check our changes. They are applied
Now we have tuned all needed parametrs for the working of showcase before the start of the sale.
Go to the showcase to check how the showcase will look like for the buyers.
That's all. Now your tradable ERC20 tokens are on the showcase and can be bought by your contributors. Thanks for your attention!