Skip to content

Instantly share code, notes, and snippets.

@wshino
Last active November 22, 2017 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wshino/fe824454b9226817b3758775cc1d2110 to your computer and use it in GitHub Desktop.
Save wshino/fe824454b9226817b3758775cc1d2110 to your computer and use it in GitHub Desktop.
btcwalletを入れる
https://github.com/btcsuite/btcwallet
/Users/shinohara-wataru/Library/Application\ Support/Btcwallet/btcwallet.conf
testnet=1
btcwallet -u myuser -P SomeDecentp4ssw0rd
D/d/slide-smartcontract ╍ btcctl --testnet --wallet getbalance default
0
アドレスはこれでとれるっぽい
D/d/slide-smartcontract ╍ btcctl --testnet --wallet getnewaddress default
D/d/slide-smartcontract ╍ btcctl --testnet --wallet listunspent
アカウント名の設定ができないようだ
D/d/slide-smartcontract ╍ btcctl --testnet --wallet setaccount mhDLYoupfpbDGf7VcT3MVEuYzfhfLCwHbX hogechan
-1: Request unsupported by btcwallet
D/d/slide-smartcontract ╍ btcctl --testnet --wallet getreceivedbyaddress mhDLYoupfpbDGf7VcT3MVEuYzfhfLCwHbX (1)
D/d/slide-smartcontract ╍ btcctl --testnet --wallet getreceivedbyaddress mhDLYoupfpbDGf7VcT3MVEuYzfhfLCwHbX
0.00002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment