Skip to content

andycao125/bsn-service-relayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSN Service Relayer

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

Install the relayer using the following command:

make install

Start

Irita-Hub

Make sure that Irita-Hub installed and the iService service(s) deployed.

AppChain

Make sure that the application chain is running

Key

Add Irita-Hub key

relayer hub keys add [name] [passphrase]

Configure

Configure the relayer according to the Irita-Hub and AppChain, default to ./config/config.yaml

Relayer

Start the relayer process:

relayer start

Add or Update the service binding to the iService market on the application chain

relayer appchain add-svc-binding [args]
relayer appchain update-svc-binding [args]

Development

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

About

BSN Relayer for Interchain Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published