Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

patractlabs/elara-kv-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elara kv subscribing component

API

See API

Config

[ws]
# 指定 elara-kv 的 ws server 地址
addr = "localhost:9002"

# 链节点相关的配置
# 如果配置某个节点x,则提供的订阅API里chain字段支持该链x的订阅
[nodes.polkadot]
# 配置 polkadot 的节点地址
url = "wss://rpc.polkadot.io"
[nodes.kusama]
url = "wss://kusama-rpc.polkadot.io"

Start

该项目使用 env_logger 打印 log:

RUST_LOG=info elara-kv --config path/to/config.toml