Various fixes and improvements -- bit

This commit is contained in:
henry 2015-05-07 19:27:50 -04:00
parent f0e3a88ea8
commit 799baff5a5
2 changed files with 7 additions and 4 deletions

View File

@ -38,7 +38,11 @@ $: client-id=(unit ,@t) app-secret=(unit ,@t)
|_ [hid=hide vat=axle]
++ prep ,_`.
++ redirect-uri (crip (weld hostname "/~~/home/pub/bit/fab"))
++ hostname "http://104.236.139.191:{?+(our.hid !! %~zod "8443", %~reg "8444")}"::{+:<our.hid>}.urbit.org
++ hostname
?+ (clan our.hid) !!
%czar "http://104.236.139.191:{?+(our.hid !! %~zod "8443", %~reg "8444")}"
%duke "http://{+:<our.hid>}.urbit.org"
==
++ auth-url
%+ weld "https://www.coinbase.com/oauth/authorize"
%- tail:earn :~

View File

@ -5,8 +5,7 @@
::
:::::::
!:
|= [^ arg=[to=@t amount=(unit ,@t) currency=(unit ,@t) astring=(unit ,@t) notes=(unit ,@t) ~] ~]
:- %send
[to.arg amount.arg currency.arg astring.arg notes.arg]
|= [^ [to=ship amo=@t ~] ~]
[%bit-send to amo]