cp-chain

CpChain is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems

https://github.com/cpchain-network/cp-chain

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

CpChain is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems

Basic Info
  • Host: GitHub
  • Owner: cpchain-network
  • License: mit
  • Language: Go
  • Default Branch: main
  • Homepage:
  • Size: 34.1 MB
Statistics
  • Stars: 2
  • Watchers: 0
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created 9 months ago · Last pushed 7 months ago
Metadata Files
Readme Contributing License Citation Security

README.md



CpChain

CpChain is Ethereum, scaled.


Table of Contents

What is CpChain?

CpChain is a project dedicated to scaling Ethereum's technology and expanding its ability to coordinate people from across the world to build effective decentralized economies and governance systems. The CpChain Collective builds open-source software that powers scalable blockchains and aims to address key governance and economic challenges in the wider Ethereum ecosystem. CpChain operates on the principle of impact=profit, the idea that individuals who positively impact the Collective should be proportionally rewarded with profit. Change the incentives and you change the world.

Documentation

Specification

Detailed specifications for the CpChain can be found within the CpChain Specs repository.

Community

General discussion happens most frequently on the CpChain discord. Governance discussion can also be found on the CpChain Governance Forum.

Contributing

The CpChain is a collaborative project. By collaborating on free, open software and shared standards, the CpChain Collective aims to prevent siloed software development and rapidly accelerate the development of the Ethereum ecosystem. Come contribute, build the future, and redefine power, together.

CONTRIBUTING.md contains a detailed explanation of the contributing process for this repository. Make sure to use the Developer Quick Start to properly set up your development environment.

Good First Issues are a great place to look for tasks to tackle if you're not sure where to start, and see CONTRIBUTING.md for info on larger projects.

Security Policy and Vulnerability Reporting

Please refer to the canonical Security Policy document for detailed information about how to report vulnerabilities in this codebase. Bounty hunters are encouraged to check out the CpChain Immunefi bug bounty program.

Directory Structure

├── docs: A collection of documents including audits and post-mortems
├── cp-chain-ops: State surgery utilities
├── cp-node: consensus-layer of CpChain
├── cp-service: Common codebase utilities
├── ops: Various operational packages
├── packages
│   ├── contracts-cpchain: CpChain smart contracts

Development and Release Process

Overview

Please read this section carefully if you're planning to fork or make frequent PRs into this repository.

Production Releases

TBD

Development branch

TBD

License

All other files within this repository are licensed under the MIT License unless stated otherwise.

Owner

  • Name: cpchain-network
  • Login: cpchain-network
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software in your work, please cite it using the following metadata
title: The CpChain Monorepo
authors:
- name: The CpChain Collective
version: 1.0.0
year: 2020
url: https://github.com/cpchain-network/cp-chain
repository: https://github.com/cpchain-network/cp-chain
license: MIT

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 1
  • Member event: 1
  • Push event: 37
  • Pull request event: 5
  • Fork event: 1
Last Year
  • Watch event: 1
  • Issue comment event: 1
  • Member event: 1
  • Push event: 37
  • Pull request event: 5
  • Fork event: 1

Dependencies

ops/docker/deployment-utils/Dockerfile docker
  • debian 12.7-slim build
  • golang 1.22.7-bookworm build
ops/docker/op-stack-go/Dockerfile docker
  • $TARGET_BASE_IMAGE latest build
  • $UBUNTU_TARGET_BASE_IMAGE latest build
  • builder latest build
  • ghcr.io/op-rs/kona/kona-host $KONA_VERSION build
  • golang 1.22.7-alpine3.20 build
  • us-docker.pkg.dev/oplabs-tools-artifacts/images/asterisc $ASTERISC_VERSION build
  • us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon v1.3.0 build
  • us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon v1.0.0 build
  • us-docker.pkg.dev/oplabs-tools-artifacts/images/cannon v1.2.0 build
go.mod go
  • github.com/BurntSushi/toml v1.5.0
  • github.com/DataDog/zstd v1.5.6-0.20230824185856-869dae002e5e
  • github.com/Masterminds/semver/v3 v3.3.1
  • github.com/Microsoft/go-winio v0.6.2
  • github.com/VictoriaMetrics/fastcache v1.12.2
  • github.com/adrg/xdg v0.4.0
  • github.com/allegro/bigcache v1.2.1
  • github.com/andybalholm/brotli v1.1.0
  • github.com/armon/go-metrics v0.4.1
  • github.com/benbjohnson/clock v1.3.5
  • github.com/beorn7/perks v1.0.1
  • github.com/bits-and-blooms/bitset v1.20.0
  • github.com/bmatcuk/doublestar/v4 v4.8.1
  • github.com/boltdb/bolt v1.3.1
  • github.com/btcsuite/btcd v0.24.2
  • github.com/btcsuite/btcd/btcec/v2 v2.3.4
  • github.com/btcsuite/btcd/btcutil v1.1.5
  • github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
  • github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
  • github.com/cespare/xxhash/v2 v2.3.0
  • github.com/cockroachdb/errors v1.11.3
  • github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce
  • github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b
  • github.com/cockroachdb/pebble v1.1.5
  • github.com/cockroachdb/redact v1.1.5
  • github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06
  • github.com/consensys/bavard v0.1.27
  • github.com/consensys/gnark-crypto v0.16.0
  • github.com/containerd/cgroups v1.1.0
  • github.com/containerd/log v0.1.0
  • github.com/coreos/go-systemd/v22 v22.5.0
  • github.com/cpuguy83/go-md2man/v2 v2.0.5
  • github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a
  • github.com/crate-crypto/go-kzg-4844 v1.1.0
  • github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
  • github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c
  • github.com/deckarep/golang-set/v2 v2.6.0
  • github.com/decred/dcrd/crypto/blake256 v1.0.1
  • github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0
  • github.com/deepmap/oapi-codegen v1.8.2
  • github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de
  • github.com/distribution/reference v0.6.0
  • github.com/dlclark/regexp2 v1.7.0
  • github.com/docker/docker v27.5.1+incompatible
  • github.com/docker/go-connections v0.5.0
  • github.com/docker/go-units v0.5.0
  • github.com/dop251/goja v0.0.0-20230806174421-c933cf95e127
  • github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5
  • github.com/dustin/go-humanize v1.0.1
  • github.com/elastic/gosigar v0.14.3
  • github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3
  • github.com/ethereum-optimism/op-geth v1.101503.4-rc.1
  • github.com/ethereum-optimism/superchain-registry/validation v0.0.0-20250314162817-2c60e5723c64
  • github.com/ethereum/c-kzg-4844 v1.0.0
  • github.com/ethereum/go-verkle v0.2.2
  • github.com/fatih/color v1.18.0
  • github.com/felixge/fgprof v0.9.5
  • github.com/felixge/httpsnoop v1.0.4
  • github.com/ferranbt/fastssz v0.1.2
  • github.com/flynn/noise v1.1.0
  • github.com/francoispqt/gojay v1.2.13
  • github.com/fsnotify/fsnotify v1.9.0
  • github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08
  • github.com/getsentry/sentry-go v0.27.0
  • github.com/ghodss/yaml v1.0.0
  • github.com/go-ini/ini v1.67.0
  • github.com/go-logr/logr v1.4.2
  • github.com/go-logr/stdr v1.2.2
  • github.com/go-ole/go-ole v1.3.0
  • github.com/go-sourcemap/sourcemap v2.1.3+incompatible
  • github.com/go-task/slim-sprig/v3 v3.0.0
  • github.com/go-yaml/yaml v2.1.0+incompatible
  • github.com/goccy/go-json v0.10.4
  • github.com/godbus/dbus/v5 v5.1.0
  • github.com/gofrs/flock v0.8.1
  • github.com/gogo/protobuf v1.3.2
  • github.com/golang-jwt/jwt/v4 v4.5.2
  • github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
  • github.com/google/go-cmp v0.7.0
  • github.com/google/gofuzz v1.2.1-0.20220503160820-4a35382e8fc8
  • github.com/google/gopacket v1.1.19
  • github.com/google/pprof v0.0.0-20241009165004-a3522334989c
  • github.com/google/uuid v1.6.0
  • github.com/gorilla/websocket v1.5.3
  • github.com/graph-gophers/graphql-go v1.3.0
  • github.com/hashicorp/errwrap v1.1.0
  • github.com/hashicorp/go-bexpr v0.1.11
  • github.com/hashicorp/go-hclog v1.6.2
  • github.com/hashicorp/go-immutable-radix v1.0.0
  • github.com/hashicorp/go-metrics v0.5.4
  • github.com/hashicorp/go-msgpack/v2 v2.1.2
  • github.com/hashicorp/go-multierror v1.1.1
  • github.com/hashicorp/golang-lru v0.5.0
  • github.com/hashicorp/golang-lru/arc/v2 v2.0.7
  • github.com/hashicorp/golang-lru/v2 v2.0.7
  • github.com/hashicorp/raft v1.7.3
  • github.com/hashicorp/raft-boltdb v0.0.0-20231211162105-6c830fa4535e
  • github.com/hashicorp/raft-boltdb/v2 v2.3.1
  • github.com/holiman/billy v0.0.0-20240216141850-2abb0c79d3c4
  • github.com/holiman/bloomfilter/v2 v2.0.3
  • github.com/holiman/uint256 v1.3.2
  • github.com/huin/goupnp v1.3.0
  • github.com/influxdata/influxdb-client-go/v2 v2.4.0
  • github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
  • github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097
  • github.com/ipfs/go-cid v0.4.1
  • github.com/ipfs/go-datastore v0.6.0
  • github.com/ipfs/go-ds-leveldb v0.5.0
  • github.com/ipfs/go-log/v2 v2.5.1
  • github.com/jackpal/go-nat-pmp v1.0.2
  • github.com/jbenet/go-temp-err-catcher v0.1.0
  • github.com/jbenet/goprocess v0.1.4
  • github.com/klauspost/compress v1.18.0
  • github.com/klauspost/cpuid/v2 v2.2.9
  • github.com/koron/go-ssdp v0.0.4
  • github.com/kr/pretty v0.3.1
  • github.com/kr/text v0.2.0
  • github.com/kurtosis-tech/kurtosis-portal/api/golang v0.0.0-20230818182330-1a86869414d2
  • github.com/kurtosis-tech/kurtosis/api/golang v1.6.0
  • github.com/kurtosis-tech/kurtosis/contexts-config-store v0.0.0-20230818184218-f4e3e773463b
  • github.com/kurtosis-tech/kurtosis/grpc-file-transfer/golang v0.0.0-20230803130419-099ee7a4e3dc
  • github.com/kurtosis-tech/kurtosis/path-compression v0.0.0-20250108161014-0819b8ca912f
  • github.com/kurtosis-tech/stacktrace v0.0.0-20211028211901-1c67a77b5409
  • github.com/libp2p/go-buffer-pool v0.1.0
  • github.com/libp2p/go-flow-metrics v0.1.0
  • github.com/libp2p/go-libp2p v0.36.2
  • github.com/libp2p/go-libp2p-asn-util v0.4.1
  • github.com/libp2p/go-libp2p-mplex v0.9.0
  • github.com/libp2p/go-libp2p-pubsub v0.12.0
  • github.com/libp2p/go-libp2p-testing v0.12.0
  • github.com/libp2p/go-mplex v0.7.0
  • github.com/libp2p/go-msgio v0.3.0
  • github.com/libp2p/go-nat v0.2.0
  • github.com/libp2p/go-netroute v0.2.1
  • github.com/libp2p/go-reuseport v0.4.0
  • github.com/libp2p/go-yamux/v4 v4.0.1
  • github.com/lmittmann/w3 v0.17.8
  • github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd
  • github.com/mattn/go-colorable v0.1.13
  • github.com/mattn/go-isatty v0.0.20
  • github.com/mattn/go-runewidth v0.0.16
  • github.com/mholt/archiver v3.1.1+incompatible
  • github.com/miekg/dns v1.1.62
  • github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b
  • github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc
  • github.com/minio/md5-simd v1.1.2
  • github.com/minio/minio-go/v7 v7.0.85
  • github.com/minio/sha256-simd v1.0.1
  • github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
  • github.com/mitchellh/mapstructure v1.5.0
  • github.com/mitchellh/pointerstructure v1.2.1
  • github.com/mmcloughlin/addchain v0.4.0
  • github.com/moby/docker-image-spec v1.3.1
  • github.com/moby/term v0.5.2
  • github.com/morikuni/aec v1.0.0
  • github.com/mr-tron/base58 v1.2.0
  • github.com/multiformats/go-base32 v0.1.0
  • github.com/multiformats/go-base36 v0.2.0
  • github.com/multiformats/go-multiaddr v0.14.0
  • github.com/multiformats/go-multiaddr-dns v0.4.1
  • github.com/multiformats/go-multiaddr-fmt v0.1.0
  • github.com/multiformats/go-multibase v0.2.0
  • github.com/multiformats/go-multicodec v0.9.0
  • github.com/multiformats/go-multihash v0.2.3
  • github.com/multiformats/go-multistream v0.5.0
  • github.com/multiformats/go-varint v0.0.7
  • github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
  • github.com/naoina/go-stringutil v0.1.0
  • github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416
  • github.com/nwaples/rardecode v1.1.3
  • github.com/olekukonko/tablewriter v0.0.5
  • github.com/onsi/ginkgo/v2 v2.20.0
  • github.com/opencontainers/go-digest v1.0.0
  • github.com/opencontainers/image-spec v1.1.0
  • github.com/opencontainers/runtime-spec v1.2.0
  • github.com/opentracing/opentracing-go v1.2.0
  • github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
  • github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7
  • github.com/pierrec/lz4 v2.6.1+incompatible
  • github.com/pion/datachannel v1.5.8
  • github.com/pion/dtls/v2 v2.2.12
  • github.com/pion/ice/v2 v2.3.34
  • github.com/pion/interceptor v0.1.30
  • github.com/pion/logging v0.2.2
  • github.com/pion/mdns v0.0.12
  • github.com/pion/randutil v0.1.0
  • github.com/pion/rtcp v1.2.14
  • github.com/pion/rtp v1.8.9
  • github.com/pion/sctp v1.8.33
  • github.com/pion/sdp/v3 v3.0.9
  • github.com/pion/srtp/v2 v2.0.20
  • github.com/pion/stun v0.6.1
  • github.com/pion/stun/v2 v2.0.0
  • github.com/pion/transport/v2 v2.2.10
  • github.com/pion/transport/v3 v3.0.7
  • github.com/pion/turn/v2 v2.1.6
  • github.com/pion/webrtc/v3 v3.3.0
  • github.com/pkg/errors v0.9.1
  • github.com/pkg/profile v1.7.0
  • github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
  • github.com/prometheus/client_golang v1.22.0
  • github.com/prometheus/client_model v0.6.2
  • github.com/prometheus/common v0.62.0
  • github.com/prometheus/procfs v0.15.1
  • github.com/protolambda/ctxlock v0.1.0
  • github.com/quic-go/qpack v0.4.0
  • github.com/quic-go/quic-go v0.46.0
  • github.com/quic-go/webtransport-go v0.8.0
  • github.com/raulk/go-watchdog v1.3.0
  • github.com/rivo/uniseg v0.4.7
  • github.com/rogpeppe/go-internal v1.13.1
  • github.com/rs/cors v1.11.0
  • github.com/rs/xid v1.6.0
  • github.com/russross/blackfriday/v2 v2.1.0
  • github.com/schollz/progressbar/v3 v3.18.0
  • github.com/shirou/gopsutil v3.21.11+incompatible
  • github.com/sirupsen/logrus v1.9.3
  • github.com/spaolacci/murmur3 v1.1.0
  • github.com/spf13/afero v1.12.0
  • github.com/stretchr/objx v0.5.2
  • github.com/stretchr/testify v1.10.0
  • github.com/supranational/blst v0.3.14
  • github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a
  • github.com/tklauser/go-sysconf v0.3.12
  • github.com/tklauser/numcpus v0.6.1
  • github.com/tyler-smith/go-bip39 v1.1.0
  • github.com/ulikunitz/xz v0.5.12
  • github.com/urfave/cli/v2 v2.27.6
  • github.com/wlynxg/anet v0.0.4
  • github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
  • github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1
  • github.com/yusufpapurcu/wmi v1.2.3
  • go.etcd.io/bbolt v1.3.5
  • go.opentelemetry.io/auto/sdk v1.1.0
  • go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0
  • go.opentelemetry.io/otel v1.34.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.34.0
  • go.opentelemetry.io/otel/metric v1.34.0
  • go.opentelemetry.io/otel/sdk v1.34.0
  • go.opentelemetry.io/otel/trace v1.34.0
  • go.uber.org/dig v1.18.0
  • go.uber.org/fx v1.22.2
  • go.uber.org/mock v0.4.0
  • go.uber.org/multierr v1.11.0
  • go.uber.org/zap v1.27.0
  • golang.org/x/crypto v0.32.0
  • golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
  • golang.org/x/mod v0.22.0
  • golang.org/x/net v0.34.0
  • golang.org/x/sync v0.10.0
  • golang.org/x/sys v0.30.0
  • golang.org/x/term v0.28.0
  • golang.org/x/text v0.21.0
  • golang.org/x/time v0.10.0
  • golang.org/x/tools v0.29.0
  • google.golang.org/genproto/googleapis/api v0.0.0-20250115164207-1a7da9e5054f
  • google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f
  • google.golang.org/grpc v1.69.4
  • google.golang.org/protobuf v1.36.6
  • gopkg.in/natefinch/lumberjack.v2 v2.2.1
  • gopkg.in/yaml.v2 v2.4.0
  • gopkg.in/yaml.v3 v3.0.1
  • gotest.tools/v3 v3.5.2
  • lukechampine.com/blake3 v1.3.0
  • rsc.io/tmplfunc v0.0.3
go.sum go
  • 908 dependencies
packages/contracts-cpchain/lib/forge-std/package.json npm