Can I use scatter to transfer own coins between test accounts within private chain ?
See original GitHub issueI create the test coin ‘SYS’ within private chain. I want to transfer some ‘SYS’ between the test accounts by use scatter api. I use transfer by this code:
transfer() {
const account = scatter.identity.accounts.find(x => x.blockchain === ‘eos’);
const opts = { authorization:[${account.name}@${account.authority}
] };
eos.transfer(account.name, ‘user1’, ‘1.0000 SYS’, ‘’, opts).then(trx => {
console.log(‘trx’, trx);
}).catch(err => {
console.error(err);
})
};
but it throw error with this: apigen.js:107 POST http://192.168.1.107:8888/v1/chain/push_transaction 500 (Internal Server Error) App.vue:154 trx-err {“code”:500,“message”:“Internal Service Error”,“error”:{“code”:3090003,“name”:“unsatisfied_authorization”,“what”:“Provided keys, permissions, and delays do not satisfy declared authorizations”,“details”:[]}}
What’s wrong with this code ? Can’t scatter transfer private coins within private chain ? or other reason?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
@nsjames Throw that error is because I made a careless error, I am solved now. Thank your help!
That’s a strange error, looks like it’s blank and not returning the details of what went wrong. If i remember correctly theres a verbose errors flag in nodeos which you can enable that might allow it to throw more information.
Closing this though, as the original problem is solved.