반응형
cleos push action <Contract Account> transfer '["<전송하는 계정>", "<받는 계정>", "<전송하는 토큰의 수량> <symbol>", "<메모>"]' -p <전송하는 토큰의 권한을 가진 계정>
cleos push action testaccount1 transfer '["sendaccount1", "receiveaccount", "2000000000.0000 TEST", "TEST transfer"]' -p sendaccount1
sendaccount : 전송하는 계정
receiveaccount : 받는 게정
2000000000.0000 TEST : 전송하고 싶은 토큰의 수량
"TEST transfer" : 메모
-p sendaccount1 : eosio.token 컨트랙트 권한을 가지고 있는 계정
Reference
2.2 토큰 배포, 발행, 전송 — EOSIO
2.2 토큰 배포, 발행, 전송 1단계: 컨트랙트 코드 다운로드 컨트랙트 디렉토리에 진입한다. 소스 코드를 받는다. git clone https://github.com/EOSIO/eosio.contracts --branch v1.4.0 --single-branch 이 저장소는 여러
eosio.readthedocs.io
반응형
'Blockchain > EOS' 카테고리의 다른 글
[이오스] net_plugin::plugin_startup failed to bind to port 오류 해결 방법 (0) | 2022.03.22 |
---|---|
[이오스] 13 N5boost10wrapexceptISt12system_errorEE: Database dirty flag set 오류 해결 방법 (0) | 2022.03.22 |
[이오스] Linux에 EOS 개발환경 구축하기 (0) | 2022.03.21 |
[이오스] 서버에서 발생 할 수 있는 오류와 해결 방법 (0) | 2022.02.28 |