코인 거래(로컬-AWS)

YU YU·2021년 10월 7일
0

ubuntu@ip-172-31-6-78:~/workspace/execute/bin$ ./grootcoin-cli -conf=/home/ubuntu/workspace/execute/bin/grootcoin1.conf getnewaddress groot1@naver.com;
g4QFvQseDjJSnWBLioZszuUrcTmirAXpui

1. AWS


1-1. 지갑을 만든다.(AWS)

./grootcoin-cli -conf=/home/ubuntu/workspace/execute/bin/grootcoin1.conf getnewaddress groot1@naver.com;

지갑 주소를 얻을 수 있다.
g4QFvQseDjJSnWBLioZszuUrcTmirAXpui

2. 로컬


2-1. sendtoaddress를 통해 AWS로 코인을 보낸다.

./grootcoin-cli -conf=/home/seunghee/workspace/groot/execute/bin/grootcoin1.conf sendtoaddress g4QFvQseDjJSnWBLioZszuUrcTmirAXpui 1000

./grootcoin-cli -conf=/home/seunghee/workspace/groot/execute/bin/grootcoin1.conf sendtoaddress g4QFvQseDjJSnWBLioZszuUrcTmirAXpui 1000
7e1c945a1aa37e8b047b81819bf1f5f24fe212ed1a668d6012462dc35219b42c

그러면 txid가 생성이 된다.
7e1c945a1aa37e8b047b81819bf1f5f24fe212ed1a668d6012462dc35219b42c

3. 결과


3-1.AWS


원래 있던 코인에 100GRT이 더해졌다.

3-2.로컬


수수료로 0.04944GRT가 빠졌다.


23afe182dd74ea8cae4e8057099bbfa16dce027c18c3cc20d1636904e06af723
txid가 또 나왔다.

3-3. 수수료

내가 가진 전체 금액을 보낼 수는 없다.


수수료로 0.1 GRT는 적어도 되야된다고 한다.


2500GRT를 보낼 때 이런게 되었다. fee가 너무 많은데?

profile
코딩 재밌어요!

0개의 댓글

관련 채용 정보