solana-anchor-go

command module
v0.0.0-...-4c89a4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 20 Imported by: 0

README

anchor-go

logo

Usage

$ go build
$ ./solana-anchor-go -src=./example/dummy_idl.json -pkg=dummy -dst=./generated/dummy

Generated Code will be generated and saved to ./generated/. And check ./example/dummy_test.go for generated code usage.

Test

Build and generate code, then run test.

$ make dummy
$ make restaking

TODO

  • instructions
  • accounts
  • types
  • events
  • errors
  • handle tuple types
  • constants (?)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
generated

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL