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
My private key and address creation example:
package main import ( "crypto/rand" "encoding/hex" "fmt" iotago "github.com/iotaledger/iota.go/v2" "github.com/iotaledger/iota.go/v2/ed25519" ) func main() { publicKey, privateKey, err := ed25519.GenerateKey(rand.Reader) if err != nil { panic(err) } fmt.Println("Private key --- ", hex.EncodeToString(privateKey.Seed())) addr := iotago.AddressFromEd25519PubKey(publicKey) fmt.Println("Address --- ", addr.Bech32(iotago.PrefixTestnet)) }
How can I create a transaction and send it? Can you provide an example? thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My private key and address creation example:
How can I create a transaction and send it?
Can you provide an example?
thank you!
The text was updated successfully, but these errors were encountered: