We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac M1.
go get github.com/harmony-one/go-sdk go mod tidy
I use go-sdk to generate private keys and addresses, send transactions, and rpc calls
package main import ( "fmt" "github.com/harmony-one/go-sdk/pkg/rpc" ) func main() { node := "https://rpc.s0.b.hmny.io" address := "one1zvtdhx0yx2uyx8ps363tx4xmn59n2twjp7dkj3" balanceRPCReply, err := rpc.Request(rpc.Method.GetBalance, node, []interface{}{address, "latest"}) if err != nil { panic(err) } fmt.Println(balanceRPCReply["result"].(string)) }
The text was updated successfully, but these errors were encountered:
you can try by cloning the repo - https://github.com/harmony-one/harmony and run(from the cloned repo's directory):
source scripts/setup_bls_build_flags.sh
Sorry, something went wrong.
No branches or pull requests
mac M1.
go get github.com/harmony-one/go-sdk
go mod tidy
I use go-sdk to generate private keys and addresses, send transactions, and rpc calls
The text was updated successfully, but these errors were encountered: