Ruby
Install
gem install antdConnect to the daemon
require "antd"
client = Antd::Client.new(base_url: "http://localhost:8082")
health = client.health
puts health.networkStore and retrieve data
require "antd"
client = Antd::Client.new
result = client.data_put_public("Hello, Autonomi!")
puts result.address
data = client.data_get_public(result.address)
puts dataType mappings
Autonomi type
Ruby type
Error handling
Full API reference
Last updated