Skip to content

Interchain Security is an open sourced IBC application which allows cosmos blockchains to lease their proof-of-stake security to one another.

License

Notifications You must be signed in to change notification settings

cosmos/interchain-security

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3336e5c · Aug 3, 2023
Jun 13, 2023
Jun 16, 2023
Jun 16, 2023
Jul 13, 2023
Jul 11, 2023
Jun 16, 2023
May 26, 2023
Aug 3, 2023
Aug 3, 2023
Mar 2, 2023
Aug 3, 2023
Sep 6, 2022
Jan 10, 2023
May 4, 2023
Jul 11, 2022
Jul 6, 2023
Apr 25, 2023
Jun 16, 2023
Jun 16, 2023
Jun 30, 2022
Jun 16, 2023
May 30, 2023
Apr 21, 2023
May 20, 2022
Aug 3, 2023
Aug 3, 2023
May 3, 2023
Apr 4, 2023

Repository files navigation

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.18 (https://formulae.brew.sh/formula/go)
brew install go@1.19
# 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