shrub/sur/btc-bridge.hoon

18 lines
380 B
Plaintext
Raw Normal View History

2020-10-05 14:57:50 +03:00
/- *btc
2020-10-01 16:51:37 +03:00
|%
+$ tx @
+$ credentials [rpc-url=@t rpc-user=@t rpc-password=@t]
2020-10-05 14:57:50 +03:00
+$ status
$: [%host connected=? clients=(set ship)]
[%client connected=? host=ship]
==
2020-10-01 16:51:37 +03:00
+$ action
2020-10-05 14:57:50 +03:00
$% [%connect-as-host =credentials]
[%connect-as-client host=ship]
[%check-status ~]
2020-10-01 16:51:37 +03:00
[%balance =address]
[%transactions =address]
[%broadcast-tx =tx]
==
--