Cover photo

Deploy a Solidity smart contract on ParaState’s testnet

As example we will use ERC-20 smart contract (any other Ethereum smart contracts can be deployed, ex.: ERC-721or etc.)

What we need:

  1. Use the online BUIDL IDE created by Second State to create, deploy and test Solidity smart contracts:

http://buidl.secondstate.io/parastate

2. Add a test network to Metamask:

https://rpc.parastate.io:8545/

Get some Testnet STATE tokens from the Official ParaState Faucet: http://faucet.parastate.io

Process:

  1. Open http://buidl.secondstate.io/parastate and import owner Metamask Account from Private Key:

2. Create your smart contract and review it:

3. Compile it and then Deploy to the chain:

You will get success Tx in the LOG tab

4. Call function variables: name, decimals, owner and symbol:

5. Copy owner address to balanceOf and Call:

6. Then copy the address of Metamask account to where you gonna transfer new created tokens and set the value, then Transact:

Once Tx is confirmed you will get Success)

Final. Copy contract address of new generated token and check if tokens has arrived to address you sent:

Happy coding! :)