How to transfer/deposit tokens on Frontend Dapp with Scatter ?


#1

Hi,

I am working on EOS Frontend Dapp with Scatter on local chain. I am getting problem with transfer/deposit tokens from one account to another. After login scatter with “test1” , trying to transfer tokens from “test1” to “test2” . The issue is given below :-

api error => undefined http://127.0.0.1:8888/v1/chain/push_transaction {“compression”:“none”,“transaction”:{“expiration”:“2018-10-28T14:10:39”,“ref_block_num”:22565,“ref_block_prefix”:7727111,“net_usage_words”:0,“max_cpu_usage_ms”:0,“delay_sec”:0,“context_free_actions”:[],“actions”:[{“account”:“test2”,“name”:“transfer”,“authorization”:[{“actor”:“test1”,“permission”:“active”}],“data”:“000000008090b1ca000000000091b1ca102700000000000004454f5300000000016d”}],“transaction_extensions”:[]},“signatures”:[“SIG_K1_Kdrrfnn48GXVbBykes1WZGmwcb58Y4iLok3kAHbLANnjafJRqFCH5tpGy6Dt4SXwyWeFUaB8yaKa7Ud27v23nvaEJ3JxX9”]}

Error: {“code”:500,“message”:“Internal Service Error”,“error”:{“code”:3050003,“name”:“eosio_assert_message_exception”,“what”:“eosio_assert_message assertion failure”

Please help me to solve this. It would be great if anyone provide me the code !


#2

Your Dapp failed an assertion. The message would show up in the console log for your local running ‘nodeos’ server.