A software that monitors and relayers:
- CometBFT blocks to update Native light client on Ika
- Bitcoin blocks to update Bitcoin light client on Native
- Bitcoin SPV proofs to verify dWallet holdings
- Native -> Bitcoin transaction relayer
Status scheme:
Mock -> WIP -> alpha -> beta -> production
Service | status |
---|---|
Native->Ika | WIP |
Native->Bitcoin | WIP |
Native->Bitcoin | ❌ |
Bitcoin SPV |
- Database
- Flow diagram
Participating in open source is often a highly collaborative experience. We’re encouraged to create in public view, and we’re incentivized to welcome contributions of all kinds from people around the world.
Check out contributing repo for our guidelines & policies for how to contribute. Note: we require DCO! Thank you to all those who have contributed!
After cloning the repository, make sure to run make setup-hooks
.
Check out SECURITY.md for security concerns.
- Make sure you have
go
,make
installed - Copy and update your env file:
cp .env.example .env
- Build the project:
make build
To build and start you can run: make build start
In order to run Native -> Bitcoin relayer PoC:
- Copy and update .env.example file to .env
cp env.example .env
- Run script with path of transaction file as command line argument:
go run main.go transaction.txt
-
Run
make setup
(will setup git hooks) -
Install and make sure it is in your PATH:
-
Use
env.Init()
to setup logger and load ENV variables. -
Use
zerolog.log
logger, eg:import "github.com/rs/zerolog/log" //... log.Info().Int("block", minimumBlockHeight).Msg("Start relaying msgs")
- Follow the Native team's activities on the Native X/Twitter account.
- Join the conversation on Native Discord.