diff --git a/README.md b/README.md index fc90689..a5407e0 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,10 @@ Active development of libbolt is ongoing at [Bolt Labs, Inc](https://github.com/ # Dependencies * secp256k1 -* sodiumoxide +* ff * pairing +* serde +* sha2 Note that the above rust dependencies will be compiled and installed as a result of running the `make` command. diff --git a/go/libbolt.go b/go/libbolt.go index 19c1fcf..8912d2e 100644 --- a/go/libbolt.go +++ b/go/libbolt.go @@ -225,6 +225,12 @@ type CustClose struct { Signature Signature `json:"signature"` } +type ZkChannelParams struct { + ChannelToken ChannelToken `json:"chantoken"` + Commitment Commitment `json:"commitment"` + CommitmentProof CommitmentProof `json:"commproof"` +} + func BidirectionalChannelSetup(name string, channelSupport bool) (ChannelState, error) { resp := C.GoString(C.ffishim_bidirectional_channel_setup(C.CString(name), C.uint(btoi(channelSupport)))) r, err := processCResponse(resp)