diff --git a/README.md b/README.md index 00640e8..18323f8 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,15 @@ subnet_public_key = IcAgent::SyetemState.subnet_public_key(agent, "gvbup-jyaaa-a Create a canister instance with candid interface file and canister id, and call canister method with canister instance: +```ruby +gov_canister = IcAgent::Canister.new(@agent, @gov_canister_id, @gov_didl) +res = gov_canister.get_neuron_ids() +``` + +#### 8. canister: ledger, management, cycles wallet .. + +canister common tools: + ```ruby ledger = IcAgent::Common::Ledger.new ledger.canister.name() diff --git a/lib/ic_agent/version.rb b/lib/ic_agent/version.rb index 95362b9..7455be9 100644 --- a/lib/ic_agent/version.rb +++ b/lib/ic_agent/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module IcAgent - VERSION = '0.1.0' + VERSION = '0.1.1' end