How to deploy your own smart contract and interact with that contract using SimplyBlock?
1. Visit simplyblock.io and click on the Go To Login/SignUp
2. First Time Users have to click on the Sign-Up AND fill the required details to get registered on SimplyBlock.
3. After registering through Sign Up Check your email for verification and verify your email.
4. Once the registration is completed the User can access their SimplyBlock Dashboard.
5. Add a user in your profile if you want to manage multiple users.
6. Once the User is Added, Create a token corresponding to that user and give permission to the user. Go to the Action section and check for the token icon.
7. Click on the token icon and then click on Add Token to create a new token.
8. Go to the token and copy HMAC public key.
Note: – HMAC(Hash-based message authentication code) Public key is authentication code which is used for verifying the authenticity of the request by the user.
9. Check the address for that user in user section (if you did not create user then admin address) and click on the Generate Address for your desired Blockchain.
Once the Address is generated the Public Address which can be funded accordingly depending on the network used the user.
10. Fund the address with some ether for the mainnet with the help of crypto exchange and for testnet check link https://faucet.ropsten.be/, For testnet put the ether testnet account public address and click on send me test ether to add funds into your account.
11. GENERATE SIGNED DATA USING SIMPLYBLOCK SDK
12. First, call the Build API for building the Contract that has to be deployed.
After filling in the required parameters and sending the build request. The user will get the following response specifying whether the build was successfully completed or not.
13. Once the Contract is successfully built the next step is to deploy the contract on the Ethereum Blockchain Network. The user has to call the eth/contract/deploy/.
After filling in the required parameters and sending the following request. The user gets the following response and hence successfully deploying the contract on the Ethereum Blockchain Network