The Counter smart contract lacks information how to generate testnet key PEM file and get balance
When the tutorial gets to Deploy section it states
In order to deploy the contract on the Testnet you need to have an account with sufficient balance (required for the deployment fee) and the associated private key in PEM format.
While this clearly describes what the developer needs, it does not answer the question how the developer gets these. Thus, the developer cannot get past this point of tutorial, without further research that may take a long time and lose the developer interest.
Suggested solution
-
Use a local development node, instead of a public testnet, for the tutorial
-
A web wizard that generates testnet PEM file with an account that has testnet EGLD balance on it
Here is an example what should be covered:
Getting testnet account and testnet EGLD balance
Create a wallet PEM file using erdpy
Create a new wallet.
erdpy wallet derive testnet-wallet.pem
Write down your address given by the command.
INFO:cli.wallet:Created PEM file [testnet-wallet.pem] for [erd1tw0k2hw0h5r394h5qccwyssc6zzza9anxy25zha67nqzjwqs32tqhexaww]
Visit the Elrond testnet faucet. Note that Elrond has multiple test networks (testnet, devnet), so pick the correct one.
Request testnet EGLD to your address.
Check your wallet address balance.
erdpy account get --proxy="https://testnet-gateway.elrond.com" --address=erd1tw0k2hw0h5r394h5qccwyssc6zzza9anxy25zha67nqzjwqs32tqhexaww