From eebb3096b82ae739cd5a7c9f80118b09de6be3f3 Mon Sep 17 00:00:00 2001 From: "Terry.Tu" Date: Thu, 8 Jun 2023 11:33:04 +0800 Subject: [PATCH] readme --- README.md | 9 +++++++++ lib/ic_agent/version.rb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a43834..a415170 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,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