Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Counter smart contract lacks information how to generate testnet key PEM file and get balance #172

Open
miohtama opened this issue Aug 21, 2021 · 1 comment

Comments

@miohtama
Copy link

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

@miohtama miohtama changed the title The Counter smart contract tutorial is complete The Counter smart contract lacks information how to generate testnet key PEM file and get balance Aug 24, 2021
@miohtama
Copy link
Author

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 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant