Skip to content

Commit

Permalink
Merge pull request #14 from Zondax/dev
Browse files Browse the repository at this point in the history
Add more instructions
  • Loading branch information
ftheirs authored Feb 23, 2024
2 parents f7d2088 + cf33206 commit 4dea4ef
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 48 deletions.
6 changes: 5 additions & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ package ledger_filecoin_go

import (
"fmt"
"github.com/zondax/ledger-go"

ledger_go "github.com/zondax/ledger-go"
)

const (
Expand All @@ -27,6 +28,9 @@ const (
INSGetVersion = 0
INSGetAddrSECP256K1 = 1
INSSignSECP256K1 = 2
INSSignDataCap = 5
INSSignClientDeal = 6
INSSignRawBytes = 7
)

const (
Expand Down
5 changes: 3 additions & 2 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ package ledger_filecoin_go
import (
"encoding/hex"
"fmt"
"github.com/btcsuite/btcd/btcec"
"testing"

"github.com/btcsuite/btcd"
"github.com/ipsn/go-secp256k1"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"golang.org/x/crypto/blake2b"
"testing"
)

// Ledger Test Mnemonic: equip will roof matter pink blind book anxiety banner elbow sun young
Expand Down
37 changes: 34 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,42 @@
module github.com/zondax/ledger-filecoin-go

go 1.13
go 1.21

require (
github.com/btcsuite/btcd v0.20.1-beta
github.com/btcsuite/btcd v0.24.0
github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52
github.com/stretchr/testify v1.7.0
github.com/zondax/ledger-go v0.14.3
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/crypto v0.17.0
)

require (
github.com/aead/siphash v1.0.1 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.1.3 // indirect
github.com/btcsuite/btcd/btcutil v1.1.5 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f // indirect
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd // indirect
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 // indirect
github.com/btcsuite/winsvc v1.0.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
github.com/decred/dcrd/lru v1.0.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/jessevdk/go-flags v1.4.0 // indirect
github.com/jrick/logrotate v1.0.0 // indirect
github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
github.com/zondax/hid v0.9.2 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
google.golang.org/grpc v1.50.1 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
)
Loading

0 comments on commit 4dea4ef

Please sign in to comment.