Skip to content

Commit

Permalink
Merge pull request #13 from binance-chain/depden
Browse files Browse the repository at this point in the history
[R4R]update doc to guide correct dependency
  • Loading branch information
darren-liu authored Mar 7, 2019
2 parents 20c40bd + f217f8e commit 7e22f48
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,13 @@ It includes the following core components:

Add "github.com/binance-chain/go-sdk" dependency into your go.mod file. Example:
```go
require (
github.com/binance-chain/go-sdk latest
)
```

### Use go get
require github.com/binance-chain/go-sdk v0.9.1

Use go get to install sdk into your `GOPATH`:
```bash
go get github.com/binance-chain/go-sdk
replace github.com/tendermint/go-amino => github.com/binance-chain/bnc-go-amino v0.14.1-binance.1
```

### Use dep
Add dependency to your Gopkg.toml file. Example:
```bash
[[override]]
name = "github.com/binance-chain/go-sdk"
```
**Notice**: The amino version depends on the go-sdk release you want to use. You may visit `https://github.com/binance-chain/go-sdk/blob/{release version}/go.mod`
to find out the correct bnc-go-amino version.

## Usage

Expand Down

0 comments on commit 7e22f48

Please sign in to comment.