IC-Go: go agent for internet computer

Hi~We have built the Go agent for IC: IC-Go

Here is the beta version of go agent for IC

Welcome to use our codes to do more explores by Golang on IC

Please send us the issues you found, thanks!

9 Likes

We update some functions:

  1. Decode candid bytes directly to go structure;
  2. Add get canister info function;
3 Likes

Coding problem:

can you query canister successfully? sometimes the same struct may be encode into different bytes

Canisters cannot be called. Error reason: call poll fail with status rejected

can you provide candid file and the function you called. i

candid:

type Transaction = record{
to: principal;
amount: nat;
token_canister: principal;
};

type Block = record {
propose_id: nat;
transactions: vec Transaction;
};

service:{
“propose”:(Block) ->(nat);
}