urbit/sur/btc-wallet-hook.hoon
2021-05-26 18:30:12 -07:00

14 lines
302 B
Plaintext

/- *btc, bws=btc-wallet-store
|%
:: req-id: hash of [xpub chyg idx]
:: addo: wallet index to send result of request to
:: back: lookup table of req-id -> addo
::
+$ req-id @ux
+$ addo [=xpub =chyg:bws =idx:bws]
+$ back (map req-id addo)
+$ action
$% [%set-provider provider=ship]
==
--