Hello everyone. Can you help me? When i use
flow keys generate
I get :
Generating key pair with signature algorithm: ECDSA_P256
�:closed_lock_with_key: Private key ( store safely and don’t share with anyone): 9a73d377f87774c97a29be35323ec7bb8232876d43cd4080776dac028aa2e982
Encoded public key (share freely): a9191f401452d49190e4d25bb687ad83570 d8059799452772478995eb30cf215b060e6df6a5bd3071a84304365c780cafc0ef8a0
adc45f03760ba9a76d86499
But when i used this public key in https://testnet-faucet-v2.onflow.org/
i get error “Public key must be a hexadecimal string with no spaces”
What i must do?
If i use Windows Power Shell
flow accounts create --key ‘MY PUBLIC KEY’
–sig-algo ECDSA_secp256k1 --hash-algo SHA3_256 --host access.testnet.nodes.onflow.org:9000 --results
I GET RESULT :
You are using a new experimental configuration format. Support for this format is not yet available across all CLI commands.
You are using a new experimental configuration format. Support for this format is not yet available across all CLI commands.
[flow.json] contains invalid json: encoding/hex: invalid byte: U+0024 ‘$’
Thank you, I already figured out what the problem was, the problem is that at the very beginning of use I already created an account and all the keys were tied to it. Now I have a problem with deploying my contracts, can you suggest or show how I should deploy a contract and how to interact with it?
The cli has documentation for how to deploy a contract: Flow CLI - Flow Documentation