Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 488 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 488 Bytes

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 (?)