github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/test/testdata/wallet_tests/wt_btm.json (about)

     1  {
     2    "keys": [
     3      {"name": "alice", "password": "alice"},
     4      {"name": "bob", "password": "bob"}
     5    ],
     6    "accounts": [
     7      {"name": "alice", "keys": ["alice"], "quorum": 1},
     8      {"name": "bob", "keys": ["bob"], "quorum": 1}
     9    ],
    10    "blocks": [
    11      {
    12        "coinbase_account": "alice",
    13        "post_states": [
    14          {"name": "alice", "asset": "BTM", "amount": 41250000000}
    15        ],
    16        "append": 100
    17      },
    18      {
    19        "coinbase_account": "bob",
    20        "transactions": [
    21          {
    22            "passwords": ["alice"],
    23            "inputs": [
    24              {"type": "spend_account", "name": "alice", "amount": 6000000000, "asset": "BTM"}
    25            ],
    26            "outputs": [
    27              {"type": "output", "name": "bob", "amount": 1000000000, "asset": "BTM"},
    28              {"type": "output", "name": "alice", "amount": 4000000000, "asset": "BTM"}
    29            ]
    30          }
    31        ],
    32        "post_states": [
    33          {"name": "alice", "asset": "BTM", "amount": 39250000000},
    34          {"name": "bob", "asset": "BTM", "amount": 43250000000}
    35        ],
    36        "append": 0
    37      }
    38    ]
    39  }