I encounter this problem when I call wanna deposit token in the exchange contract.(the private key imported correct).

Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations


You should set permission for this account:

cleos set account permission test active '{"threshold":1, "keys":[{"key":"YOUR_PUBLIC_KEY", "weight":1}], "accounts": [{"permission":{"actor":"test","permission":"eosio.code"},"weight":1}]}' owner -p test

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.