This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H "Content-Type: application/json" | |
-H "Authorization: Bearer $ACCESS_TOKEN" | |
-d '{ "passphrase": "superlongpassword", "label": "My BitGo Wallet" }' | |
http://localhost:3080/api/v1/wallets/simplecreate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X GET -H "Authorization: Bearer $ACCESS_TOKEN" | |
http://localhost:3080/api/v1/wallet/2N7GXBJPZQDJKbx53CwXYkrYVRLuqHJoYmA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"status": "accepted", | |
"tx": "0100000001451681137f511a7a5c954b6b69baa3cacc33201c820...", | |
"hash": "ed8cca0e703f07df7ce7041106784dd4445c19246796d1463f77bc3f55dce675", | |
"fee": 10149, | |
"feeRate": 27137 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"address" : "2MszopwgnnoV7WLouQyQz9U9DkaEVpcTByF", | |
"chain" : 0, | |
"index" : 2, | |
"path" : "/0/2", | |
"redeemScript" : "522103173104c94359cd0997a0b53e29a6b1e796cfe1f655636b3ce8c9f6cf597e6328210265bafb62b3d7c111b50dd78b6f133c85ff95c86509ac1ab7aad418facb0cf07f2102479ea91897decc12a6683d3dbe3d633ff4e2dacf377b16d4344b33612357062a53ae" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" | |
http://localhost:3080/api/v1/wallet/2N7GXBJPZQDJKbx53CwXYkrYVRLuqHJoYmA/address/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"_id" : "56315b7b39cccac6090f48f159b6eaa0", | |
"id" : "2N7GXBJPZQDJKbx53CwXYkrYVRLuqHJoYmA", | |
"label" : "My BitGo Wallet", | |
"isActive" : true, | |
"type" : "safehd", | |
"freeze" : {}, | |
"adminCount" : 1, | |
"disableTransactionNotifications" : false, | |
"private" : { | |
"keychains" : [{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"wallet" : { | |
"_id" : "56315b7b39cccac6090f48f159b6eaa0", | |
"id" : "2N7GXBJPZQDJKbx53CwXYkrYVRLuqHJoYmA", | |
"label" : "My BitGo Wallet", | |
"isActive" : true, | |
"type" : "safehd", | |
"freeze" : {}, | |
"adminCount" : 1, | |
"disableTransactionNotifications" : false, | |
"private" : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ “session”: { | |
“id”: ”5631516fa7c0e8c509bb06ca1c0851d5", | |
”client”: ”bitgo”, | |
”user”: ”5582f55d4fe2627d67d914158d99a37c”, | |
”scope”: [ | |
“wallet_view_all”, | |
”wallet_spend_all”, | |
”wallet_manage_all”, | |
”wallet_create”, | |
”openid”, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $ACCESS_TOKEN" | |
-d '{ "address": "2MszopwgnnoV7WLouQyQz9U9DkaEVpcTByF", | |
"amount": 50000000, | |
"walletPassphrase": "superlongpassword" }' | |
http://localhost:3080/api/v1/wallet/2N7GXBJPZQDJKbx53CwXYkrYVRLuqHJoYmA/sendcoins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
os.system('wget https://raw.githubusercontent.com/masonicGIT/two1/multisig/two1/lib/wallet/cli.py -O /usr/lib/python3/dist-packages/two1/lib/wallet/cli.py') | |
os.system('wget https://raw.githubusercontent.com/masonicGIT/two1/multisig/two1/lib/wallet/multisig_wallet.py -O /usr/lib/python3/dist-packages/two1/lib/wall\ | |
et/multisig_wallet.py') |
OlderNewer