Skip to content

Commit

Permalink
Merge pull request #5 from tuminfei/develop
Browse files Browse the repository at this point in the history
readme
  • Loading branch information
tuminfei authored Jun 8, 2023
2 parents 912c2b4 + eebb309 commit f3b653d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion lib/ic_agent/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module IcAgent
VERSION = '0.1.0'
VERSION = '0.1.1'
end

0 comments on commit f3b653d

Please sign in to comment.