-
Go installation:https://golang.org/dl/
-
wormhole client installation:https://github.com/copernet/wormhole/tree/master/doc#building
You should sync all blocks from network until to the best block height. Note that it will take from several hours to several days to sync the entire block chain depending upon your Internet connection and machine specs.
install SDK via go get
:
go get github.com/copernet/whc.go
import SDK:
import "github.com/copernet/whc.go/rpcclient"