강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của entity
entity

câu hỏi đã được viết

Tạo một ví đơn giản của EOS bằng EOSJS

chuyển khoản

transcation, contract api 에러

Viết

·

263

0

안녕하세요.

transfer 는 잘되는데

transcation, contract api는 아래와 같이 에러가 납니다.

뭐가 문제일까요?

const Eos = require('eosjs');

const config = {
httpEndpoint: 'https://api-kylin.eosasia.one',
chainId: '5fff1dae8dc8e2fc4d5b23b2c7665c97f9e9d8edf2b6485a86ba311c25639191',
keyProvider: ['5JWE7GiLKF7GHdpMMPT26CMCx8vdtTg8Qq8UTTyPLK3xe5zFQz4'],
};

Eos(config).contract('eosio.token')
.then(coin => coin.transfer('rozeus111111', 'rozeus111112', '1.0000 EOS', 'test Contract Transfer'))
.then(console.log).catch(console.error);
 
===> 에러 내용
|/Users/hyungsoolim/eosex|$ node transfer.js {"code":500,"message":"Internal Service Error",
"error":{"code":3040003,"name":"tx_no_auths","what":"Transaction should have at least one required auth ority",
"details":[{"message":"transaction must have at least one authorization","file":"transaction_context.cpp",
"line_number":744,"method":"validate_ referenced_accounts"}]}}
blockchainjavascriptdappEOSJS

Câu trả lời

Câu hỏi này đang chờ câu trả lời
Hãy là người đầu tiên trả lời!
Hình ảnh hồ sơ của entity
entity

câu hỏi đã được viết

Đặt câu hỏi