My code link: [https://github.com/NagatoPeinI1/testInfura]
I’m trying to test the Infura platform so that I do not need to set up my own Ethereum node.
- I have created an account in infura.io.
- Got my project Id (using Ropsten as test network).
- Wrote a sample smart contract that creates a bond token. We can perform balanceOf, totalSupply, transfer, transferFrom, etc.
deploy, call, compile.
- I’m using deploy.js for deploying. Getting configuration from /config/config.json
“signerPrivateKey”: “<your wallet private key, can be metamask, ganache>”,
For local I’m taking Gancahe’s account and its private Id.
When I’m giving my Metamask account and its private key, I’m able to deploy the contract but I’m able to perform other functions, not the transfer function from the /src/action/call
What account and private Key should I take and add If I want to test it on the Ropsten test network?
Am I following the correct process for deployment?