diff --git a/ReadMe.md b/ReadMe.md index f36ae4d..a960370 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -20,12 +20,12 @@ Go version above 1.11 ### Use go mod(recommend) -Add "github.com/binance-chain/go-sdk" dependency into your go.mod file. Example: +Add "github.com/bnb-chain/go-sdk" dependency into your go.mod file. Example: ```go require ( - github.com/binance-chain/go-sdk latest + github.com/bnb-chain/go-sdk latest ) -replace github.com/tendermint/go-amino => github.com/binance-chain/bnc-go-amino v0.14.1-binance.1 +replace github.com/tendermint/go-amino => github.com/bnb-chain/bnc-go-amino v0.14.1-binance.1 ``` **NOTE**: Please make sure you use binance-chain amino repo instead of tendermint amino. @@ -124,7 +124,7 @@ assert.True(t, bytes.Equal(encryPlain1, encryPlain2)) ### Init Client ```GO -import sdk "github.com/binance-chain/go-sdk/client" +import sdk "https://github.com/bnb-chain/go-sdk/tree/master/client" mnemonic := "lock globe panda armed mandate fabric couple dove climb step stove price recall decrease fire sail ring media enhance excite deny valid ceiling arm" //----- Init KeyManager ------------- @@ -165,7 +165,7 @@ _, err = client.CreateOrder(tradeSymbol, nativeSymbol, msg.OrderSide.BUY, 100000 _, err = client.CreateOrder(tradeSymbol, nativeSymbol, msg.OrderSide.BUY, 100000000, 100000000, true, transaction.WithAcNumAndSequence(acc.Number,acc.Sequence+2)) ``` -For more API usage documentation, please check the [wiki](https://github.com/binance-chain/go-sdk/wiki).. +For more API usage documentation, please check the [wiki](https://github.com/bnb-chain/go-sdk/wiki).. ## RPC Client(Beta) RPC endpoints may be used to interact with a node directly over HTTP or websockets. Using RPC, you may perform low-level @@ -177,4 +177,4 @@ light client. nodeAddr := "tcp://127.0.0.1:27147" testClientInstance := rpc.NewRPCClient(nodeAddr,types.TestNetwork) status, err := c.Status() -``` \ No newline at end of file +```