zeta-chain / protocol-contracts-solana

solana interface contract for zetachain
MIT License
3 stars 2 forks source link

Generate or produce Go binding on this repository #43

Open lumtis opened 1 week ago

lumtis commented 1 week ago

Currently the Go binding to interact with Solana programs are located in https://github.com/zeta-chain/node/tree/develop/pkg/contracts/solana

To keep strong coupling with the current implementation of the code, the Go binding should be located in this package.

Ideal: we can generate in a command the go binding to be used in the repository.

lumtis commented 1 week ago

To explore:

https://github.com/gagliardetto/solana-go https://github.com/gagliardetto/anchor-go