Skip to content

Commit

Permalink
update example url
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdayong228 committed Oct 10, 2022
1 parent 4cb1946 commit dabd37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ govendor fetch github.com/Conflux-Chain/go-conflux-sdk

After that you need to create a client instance with node url and an account manager instance.
```go
url:= "http://testnet-jsonrpc.conflux-chain.org:12537"
url:= "https://test.confluxrpc.org"
client, err := sdk.NewClient(url)
if err != nil {
fmt.Println("new client error:", err)
Expand Down

0 comments on commit dabd37a

Please sign in to comment.