BSN Service Relayer is intended for interchain service invocation between application chains and IRITA-HUB in BSN ecosystem.
The project is under development, with a mock implementation used to demonstrate the relayer working model and as a development reference.
Install the relayer using the following command:
make install
Make sure that Irita-Hub installed and the iService service(s) deployed.
Make sure that the application chain is running
relayer hub keys add [name] [passphrase]
Configure the relayer according to the Irita-Hub and AppChain, default to ./config/config.yaml
Start the relayer process:
relayer start
relayer appchain add-svc-binding [args]
relayer appchain update-svc-binding [args]
See Spec for the application chain interfaces.
Add an application chain in appchains
directory:
- Implementing the required interfaces
- Add to
appchains/factory.go
for routing - Optionally, Add test to
tests
directory