【文件属性】:
文件名称:flow-ruby:用于Flow API的Ruby包装器
文件大小:20KB
文件格式:ZIP
更新时间:2021-03-19 13:12:52
ruby flow grpc cryptocurrency cadence
流Ruby
Flow Ruby是Flow API的Ruby包装器。您可以找到有关Flow API的更多信息。
该宝石的灵感来自丹尼尔·波达鲁(Daniel Podaru)的。
该宝石目前正在开发中,如果您想提供帮助,请贡献力量。需要注意的一些事情:
#send_transaction
#get_events_for_height_range和#get_events_for_block_ids
#get_latest_protocol_state_snapshot
测试!!!
安装
将此行添加到您的应用程序的Gemfile中:
gem 'flow-ruby'
然后执行:
$ bundle install
或将其自己安装为:
$ gem install flow-ruby
用法
为了使用Flow,您必须首先实例化客户端并直接从那里调用方法。
require 'flow'
clie
【文件预览】:
flow-ruby-master
----.gitignore(73B)
----bin()
--------setup(74B)
--------console(150B)
----.rubocop.yml(440B)
----flow-ruby.gemspec(2KB)
----CODE_OF_CONDUCT.md(5KB)
----CHANGELOG.md(156B)
----LICENSE.txt(1KB)
----.github()
--------workflows()
----README.md(2KB)
----lib()
--------flow()
--------flow.rb(240B)
----Gemfile(69B)
----Rakefile(289B)
----test()
--------test_helper.rb(128B)
--------flow_test.rb(167B)
----Gemfile.lock(1KB)