testnet에서 비트 코인 얻기

3208 단어 Bitcoin
  • h tps : // / st 네 t. 마누. 바 c 켄 d. 하 m rg / 후 우세 t

  • 새 주소 생성


    $ bitcoin-cli getnewaddress
    mgPHsFbpCoc7Y5pWCSwM7CFW4bQJpTbWvw
    

    주소에 계정 설정


    $ bitcoin-cli setaccount mgPHsFbpCoc7Y5pWCSwM7CFW4bQJpTbWvw takahero
    
    $ bitcoin-cli listaccounts
    {
      "": 0.00000000,
      "takahero": 0.00000000
    }
    

    월렛 잔액


    $ bitcoin-cli getbalance
    0.00000000
    

    testnet에서 비트 코인 얻기






  • 월렛 잔액 확인
  • $ bitcoin-cli getbalance
    1.30000000
    

    자신에게 보내는 UTXO 확인


    $ bitcoin-cli listunspent
    [
      {
        "txid": "d38ea103ce6fdbffcb100a6a21f23c2d390583beb74fba47118f5eda980ee176",
        "vout": 0,
        "address": "mgPHsFbpCoc7Y5pWCSwM7CFW4bQJpTbWvw",
        "account": "takahero",
        "scriptPubKey": "76a914098522e4533f105a7939686145346f71bd35fefe88ac",
        "amount": 1.30000000,
        "confirmations": 1,
        "spendable": true,
        "solvable": true,
        "safe": true
      }
    ]
    

    거래 내용 확인


    $ bitcoin-cli gettransaction d38ea103ce6fdbffcb100a6a21f23c2d390583beb74fba47118f5eda980ee176
    {
      "amount": 1.30000000,
      "confirmations": 1,
      "blockhash": "000000000000002d64410852498b7caf40741bc6c16f707bf58046f5a49e0e14",
      "blockindex": 2,
      "blocktime": 1507443519,
      "txid": "d38ea103ce6fdbffcb100a6a21f23c2d390583beb74fba47118f5eda980ee176",
      "walletconflicts": [
      ],
      "time": 1507442414,
      "timereceived": 1507442414,
      "bip125-replaceable": "no",
      "details": [
        {
          "account": "takahero",
          "address": "mgPHsFbpCoc7Y5pWCSwM7CFW4bQJpTbWvw",
          "category": "receive",
          "amount": 1.30000000,
          "label": "takahero",
          "vout": 0
        }
      ],
      "hex": "01000000000101ab7d7d8d0c2451878305ec42085f3d56a62f71024b7f0f409184b5b4bd65108401000000171600149688486ab5df5c63b85f7ebd6d8c5e81ab619493ffffffff0280a4bf07000000001976a914098522e4533f105a7939686145346f71bd35fefe88ac22dac9742e00000017a914aec2000bf609a6d6fcebbe04b7d80dcbe31b770e8702483045022100f7e5f21c3d034c4999563e1569e0f5b8d90c2ec8c594511faa6d49ee562d36c402202b7dd64a11d8ce1ef1c6e6e71e5454be5c78cd7edec3813562b9ea6b15d7abe80121039e20fca831296eef092467d61fe17a80d17320c6e35162e1515945b88131f72100000000"
    }
    

    좋은 웹페이지 즐겨찾기