Error 3090003 on cleos set account
Hello, after I did everything in the tutorial, I was trying to setup the command:
cleos set contract hello /home/jovana/contracts/hello -p hello@active
The output I get is:
Reading WASM from /home/jovana/contracts/hello/hello.wasm...
Publishing contract...
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.```
+1 :disappointed:
Have you created hello account? That error message is also shown in the case of account non-existence.
And if you have created the hello account, have you loaded its keys into an unlocked wallet?
I've done that already. Wallet unlocked, has keys, account created, still that error.
Can you provide a link to the tutorial you are following?
https://developers.eos.io/eosio-home/docs/your-first-contract
can you give the output of ./cleos get account hello ?
permissions:
owner 1: 1 EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe
active 1: 1 EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe
memory:
quota: unlimited used: 2.66 KiB
net bandwidth:
used: unlimited
available: unlimited
limit: unlimited
cpu bandwidth:
used: unlimited
available: unlimited
limit: unlimited
And the output of ./cleos wallet keys?
"EOS66v6nn3qZr6CMgdukzSMKFGWpZX4pPeaXNcqL7AvXmvjaJzx1e",
"EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
"EOS7NRVnMp6PCpdid8sqnLsJBd3sJN6f8qqWBcKWEBGgdeMoCFSZk"
]
You'll note none of those keys match the owner and active key for the hello account. Add the private key corresponding to EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe to your wallet and you'll be able to conduct transactions on the hello account.
Where can I find private key for EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe ?
When you created the key for your hello account it created the private key along with your public key.
https://developers.eos.io/eosio-home/docs/wallets#section-step-1-create-a-wallet https://developers.eos.io/eosio-home/docs/wallets#section-step-4-import-keys-into-your-wallet
If you used cleos create key --to-console then the private key was echoed to the console. If you used --file then the private key was put in the provided file.
If you have lost your private key. You can start over by restarting nodeos with --delete-all option or just create another account, say hello2, with public/private key pair that you have not lost.
Yes, I got that @heifner.
My problem is that I don't have private key for EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe that @jgiszczak wrote.