First, we'll start with creating the QRC20 token, we're using the openzeppelin ERC20 template for this.
Create a dir called "token" and go inside of it
Clone OpenZeppelin contracts from Github: git clone https://github.com/OpenZeppelin/openzeppelin-contracts.git --branch v3.1.0 --single-branch
Next, we create a basic token contract as such:
Make changes as you wish. Supply, name, ticker, decimals are all options to change in the contract.
Install solidity 0.6x (Optional, you can use https://remix.ethereum.org/ )
When finished, compile the contract using
solc like this:
solc --hashes --abi --bin --allow-paths openzeppelin-contracts --evm-version constantinople token.sol
Copy the bytecode, look for it where it says "token.sol", or whatever name you've chosen for the token
Here we can see it in the sample token "QSW.sol"
Even though you have added the token and provided liquidity, it hasn't actually been listed on the platform and will not be accessible to others unless they manually add your token contract which is sort of inconvenient.
Please send us an email to [email protected], include in the email:
Once we review the token, we will add to QiSwap and announce it on our social channels.