Add wax typescript object interface tests
input.json:
{"tx": {"ref_block_num": 51109, "ref_block_prefix": 2785934438, "expiration": "2023-08-01T15:38:48", "operations": [{"type": "vote_operation","value": {"voter": "otom","author": "c0ff33a","permlink": "ewxhnjbj","weight": 2200}}],"signatures": []},"serialization_type": "hf26","wif": "5JkFnXrLM2ap9t3AmAxBJvQHF7xSKtnTrCTginQCkhzU5S7ecPT"}
what produced:
cat ./input.json | ./sign_transaction
{"result":{"digest":"4fdfea23b6796d66af61162025d2bf4bd55ce62be53d37c635cda9d0c482050b","sig_digest":"205c79e3d17211882b1a2ba8640ff208413d68cabdca892cf47e9a6ad46e63a1","key":"STM5RqVBAVNp5ufMCetQtvLGLJo7unX9nyCBMMrTXRWQ9i1Zzzizh","sig":"1f7f0c3e89e6ccef1ae156a96fb4255e619ca3a73ef3be46746b4b40a66cc4252070eb313cc6308bbee39a0a9fc38ef99137ead3c9b003584c0a1b8f5ca2ff8707"}}
Loading
Please sign in to comment