[push_transaction error] '{"code":401,"message":"UnAuthorized","details":"signatures do not satisfy declared authorizations (3030002)\nTransaction declares authority '{\"account\":\"inita\",\"permission\":\"active\"}', but does not have signatures for it.\n\n"} #1787
when i use "newaccount" method of eosjs ,it occur errors as title,my param is eos.newaccount({
creator: 'inita',
name: 'ylm',
owner: initaPublic,
active: initaPublic,
recovery: 'inita',
deposit: '1 EOS'
})
You need to use inita's key to sign the transaction. Check config.ini for the key and follow the "Complete example" section here https://github.com/EOSIO/eosjs#contract
when i use "newaccount" method of eosjs ,it occur errors as title,my param is eos.newaccount({ creator: 'inita', name: 'ylm', owner: initaPublic, active: initaPublic, recovery: 'inita', deposit: '1 EOS' })