allinbits / interchain-security

interchain-security houses the code implementing interchain security (aka replicated security) for Cosmos based blockchains.

Home Page:https://interchainsecurity.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interchain Security

Go Report Card Security Rating Vulnerabilities Bugs Lines of Code Coverage

interchain-security contains a working and in-production implementation of the Replicated Security protocol (aka Interchain Security V1). Replicated security is an open sourced IBC application which allows cosmos blockchains to lease their proof-of-stake security to one another.

For more details on the Replicated Security protocol, take a look at the docs or technical specification.

Instructions

Prerequisites

## For OSX or Linux

# go 1.20 (https://formulae.brew.sh/formula/go)
brew install go@1.20
# jq (optional, for testnet) (https://formulae.brew.sh/formula/jq)
brew install jq
# docker (optional, for integration tests, testnet) (https://docs.docker.com/get-docker/)

Installing and running binaries

# install interchain-security-pd and interchain-security-cd binaries
make install
# run provider
interchain-security-pd
# run consumer
interchain-security-cd
# (if the above fail, ensure ~/go/bin on $PATH)
export PATH=$PATH:$(go env GOPATH)/bin

Inspect the Makefile if curious.

Testing

See testing docs.

Learn more

About

interchain-security houses the code implementing interchain security (aka replicated security) for Cosmos based blockchains.

https://interchainsecurity.dev/

License:Other


Languages

Language:Go 93.5%Language:TypeScript 4.0%Language:Shell 2.0%Language:Makefile 0.4%Language:Dockerfile 0.1%Language:JavaScript 0.0%