Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
0b1b863
ui code skeleton
mischief-codes Nov 27, 2023
d188eec
Initial state on client subscribe - channels
cyclomancer Nov 28, 2023
0701f22
Initial state format bugfix
cyclomancer Nov 28, 2023
5ca5db4
Merge branch 'sweeps/revoked' into ui-prototype
mischief-codes Nov 29, 2023
796f654
simple poke and subscribe working
mischief-codes Nov 29, 2023
9ff0432
skeleton ui
mischief-codes Nov 29, 2023
6286a8e
command dejs
mischief-codes Nov 30, 2023
890cbba
all commands deserializing
mischief-codes Nov 30, 2023
0f3a625
encode update as json
mischief-codes Dec 4, 2023
3b5bc92
command feedback
mischief-codes Dec 5, 2023
5cac810
set url
mischief-codes Dec 5, 2023
f23e84f
command layout
mischief-codes Dec 21, 2023
88317a1
qr code display
mischief-codes Dec 22, 2023
aa53d9a
send invoice to front end
mischief-codes Dec 22, 2023
299337c
channel display
mischief-codes Dec 28, 2023
cc20e7a
ui refactor / better ui logs
mischief-codes Dec 31, 2023
750cf45
add subscriptions; debug open channel fails
mischief-codes Jan 4, 2024
b9ab0ea
refactor currency
mischief-codes Jan 5, 2024
830d0a4
display preopening/opening/open status
mischief-codes Jan 9, 2024
224e8b0
fix invoices
mischief-codes Jan 9, 2024
5da543c
fix other ship status display
mischief-codes Jan 10, 2024
7d280d3
front end feedback on errors
mischief-codes Jan 10, 2024
0881707
prevent open channel with self
mischief-codes Jan 10, 2024
04f796a
client side validations
mischief-codes Jan 11, 2024
b46c7ef
sort channels
mischief-codes Jan 11, 2024
30bc3b9
copy button; fix funding channels
mischief-codes Jan 11, 2024
38dfb17
cleanup
mischief-codes Jan 11, 2024
a37b9ed
cleanup urbit
mischief-codes Jan 11, 2024
9cc9dee
update readme
mischief-codes Jan 11, 2024
26573dd
fix sort order
mischief-codes Jan 11, 2024
c50b2c4
skeleton
mischief-codes Jan 16, 2024
7094197
more skeleton
mischief-codes Jan 17, 2024
efa07ee
Merge branch 'ui-prototype' into submarine-swaps
mischief-codes Jan 18, 2024
a69f5b2
peerswap opening wip
mischief-codes Feb 13, 2024
465727c
comfy refactor
mischief-codes Feb 13, 2024
25b5d74
pay opening tx fee
mischief-codes Feb 16, 2024
a237cb9
merge main
mischief-codes Feb 18, 2024
0d612f5
fix proxy
mischief-codes Feb 22, 2024
1e8d6b0
merge ui branch
mischief-codes Feb 22, 2024
11f626b
debug
mischief-codes Feb 23, 2024
ee26145
fix get-chan bug
mischief-codes Feb 23, 2024
cb4a686
send payment thread changes
mischief-codes Feb 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PRIVATE.scratch.md
*~undo-tree~
proxy/node_modules/*
dev
node_modules
dev
.DS_Store
ui/dist
Binary file added .urb/log/data.mdb
Binary file not shown.
Binary file added .urb/log/lock.mdb
Binary file not shown.
3 changes: 2 additions & 1 deletion btc-desk/lib/btc-provider.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
::
++ utxo
%- ot
:~ ['tx_pos' ni]
:~ ['tx_index' ni]
['tx_pos' ni]
['tx_hash' (cu from-cord:hxb:bcu so)]
[%height ni]
[%value ni]
Expand Down
31 changes: 16 additions & 15 deletions btc-desk/lib/btc.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
`(encode:pbt:bc %.y get-rawtx get-txid ins outs)
--
:: wad: door for processing walts (wallets)
:: parameterized on a walt and it's chyg account
:: parameterized on a walt and it's chyg account
::
++ wad
|_ [w=walt =chyg]
Expand Down Expand Up @@ -468,7 +468,8 @@
==
++ utxo
%- ot
:~ ['tx_pos' ni]
:~ ['tx_index' ni]
['tx_pos' ni]
['tx_hash' (cu from-cord:hxb:bcu so)]
[%height ni]
[%value ni]
Expand Down Expand Up @@ -510,7 +511,7 @@
==
++ block-headers
%- ot
:~ [%count ni]
:~ [%count ni]
[%hex (cu from-cord:hxb:bcu so)]
[%max ni]
[%root (cu:dejs-soft:format from-cord:hxb:bcu so:dejs-soft:format)]
Expand All @@ -519,7 +520,7 @@
++ tx-from-pos
%- ot
:~ [%tx-hash (cu from-cord:hxb:bcu so)]
[%merkle (ar (cu from-cord:hxb:bcu so))]
[%merkle (ar (cu from-cord:hxb:bcu so))]
==
++ block-txs
%- ot
Expand Down Expand Up @@ -569,27 +570,27 @@
(mk-url '/feehistogram' '')
::
%get-block-headers
%+ post-request
%+ mk-url '/blockheaders' ''
%+ post-request
%+ mk-url '/blockheaders' ''
%- pairs
:~ [%start (numb start.ract)]
:~ [%start (numb start.ract)]
[%count (numb count.ract)]
[%cp (numb (fall cp.ract 0))]
==
[%cp (numb (fall cp.ract 0))]
==
::
%get-tx-from-pos
%+ post-request
%+ mk-url '/txfrompos' ''
%+ post-request
%+ mk-url '/txfrompos' ''
%- pairs
:~ [%height (numb height.ract)]
:~ [%height (numb height.ract)]
[%pos (numb pos.ract)]
[%merkle %b merkle.ract]
==
[%merkle %b merkle.ract]
==
::
%get-fee
%- get-request
%+ mk-url '/estimatefee/'
%- crip
%- crip
%+ scow %ud block.ract
::
%update-psbt
Expand Down
2 changes: 1 addition & 1 deletion btc-desk/sur/bitcoin.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
+$ sats @ud
+$ vbytes @ud
+$ txid hexb
+$ utxo [pos=@ =txid height=@ value=sats recvd=(unit @da)]
+$ utxo [tx-index=@ pos=@ =txid height=@ value=sats recvd=(unit @da)]
++ address-info
$: =address
confirmed-value=sats
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"dependencies": {
"@grpc/proto-loader": "^0.7.4",
"express": "^4.18.2",
"grpc": "^1.24.11"
"grpc": "^1.24.11",
"urbit-ob": "^5.0.1"
}
}
4 changes: 1 addition & 3 deletions proxy/invoices.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
syntax = "proto3";

import "lightning.proto";

package invoicesrpc;

option go_package = "github.com/lightningnetwork/lnd/lnrpc/invoicesrpc";
Expand Down Expand Up @@ -172,4 +170,4 @@ message LookupInvoiceMsg {
}

LookupModifier lookup_modifier = 4;
}
}
4 changes: 1 addition & 3 deletions proxy/router.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
syntax = "proto3";

import "lightning.proto";

package routerrpc;

option go_package = "github.com/lightningnetwork/lnd/lnrpc/routerrpc";
Expand Down Expand Up @@ -949,4 +947,4 @@ enum ChanStatusAction {
}

message UpdateChanStatusResponse {
}
}
Loading