All Projects → counterfactual → Monorepo

counterfactual / Monorepo

Licence: mit
Home for all packages related to the Counterfactual project

Programming Languages

typescript
32286 projects
solidity
1140 projects

Labels

Projects that are alternatives of or similar to Monorepo

Ethers.js
Complete Ethereum library and wallet implementation in JavaScript.
Stars: ✭ 3,605 (+1827.81%)
Mutual labels:  ethereum
Eth Utils
Utility functions for working with ethereum related codebases.
Stars: ✭ 179 (-4.28%)
Mutual labels:  ethereum
Solidity Doc Cn
以太坊Solidity语言中文文档
Stars: ✭ 183 (-2.14%)
Mutual labels:  ethereum
Pando
A distributed remote protocol for git based on IPFS, ethereum and aragonOS
Stars: ✭ 177 (-5.35%)
Mutual labels:  ethereum
Go Ethereum Hdwallet
Ethereum HD Wallet derivations in Go (golang)
Stars: ✭ 178 (-4.81%)
Mutual labels:  ethereum
Dagger.js
Simple library to connect with dagger server and manage subscriptions for Ethereum Blockchain.
Stars: ✭ 179 (-4.28%)
Mutual labels:  ethereum
Eevm
Enclave ready EVM (eEVM) is an open-source, standalone, embeddable, C++ implementation of the Ethereum Virtual Machine.
Stars: ✭ 175 (-6.42%)
Mutual labels:  ethereum
Armors Solidity
Armors-solidity is a framework to build secure smart contracts on Ethereum.
Stars: ✭ 184 (-1.6%)
Mutual labels:  ethereum
Awesome Decentralized Papers
Influential papers in decentralized systems (cryptocurrencies, contracts, consensus, etc.)
Stars: ✭ 179 (-4.28%)
Mutual labels:  ethereum
Blockchainwallet Crypto
比特币、以太坊公私钥生成以及签名,长时间不维护可移步 https://github.com/QuincySx/ChainWallet
Stars: ✭ 183 (-2.14%)
Mutual labels:  ethereum
Ethereum Graph Debugger
Ethereum solidity graph plain debugger. To have the whole picture when debugging.
Stars: ✭ 177 (-5.35%)
Mutual labels:  ethereum
Universaltoken
Implementation of Universal Token for Assets and Payments
Stars: ✭ 176 (-5.88%)
Mutual labels:  ethereum
Civil
The Main Monorepo and entry-point of all things Civil
Stars: ✭ 181 (-3.21%)
Mutual labels:  ethereum
Securify
[DEPRECATED] Security Scanner for Ethereum Smart Contracts
Stars: ✭ 177 (-5.35%)
Mutual labels:  ethereum
Ultimateicocalendar
The ICO calendar to end all ICO calendars
Stars: ✭ 183 (-2.14%)
Mutual labels:  ethereum
Semaphore
A privacy gadget for Ethereum
Stars: ✭ 176 (-5.88%)
Mutual labels:  ethereum
Unstoppable Wallet Ios
A secure and decentralized Bitcoin and other cryptocurrency wallet for iPhone. Supports Bitcoin, Ethereum, EOS, Binance Chain, Bitcoin Cash, DASH, ...
Stars: ✭ 180 (-3.74%)
Mutual labels:  ethereum
Blockchain Security Contacts
Directory of security contacts for blockchain companies
Stars: ✭ 186 (-0.53%)
Mutual labels:  ethereum
Use Wallet
👛 useWallet() · All-in-one solution to connect a dapp to an Ethereum provider.
Stars: ✭ 182 (-2.67%)
Mutual labels:  ethereum
Tbtc
Trustlessly tokenized Bitcoin on Ethereum ;)
Stars: ✭ 182 (-2.67%)
Mutual labels:  ethereum

NOTE: This repository has been moved. Work is continuing under the @statechannels organization as part of statechannels.org project to unify state channels initiatives.


Counterfactual
Counterfactual

Simple off-chain applications framework for Ethereum.

circleci license


Counterfactual is a simple off-chain framework for building state channel applications on top of the Ethereum blockchain. It aims to make it simpler to build permissionless applications that have instant finality with zero-fee transactions.

You can learn more about what state channels are by reading our whitepaper or a less technical written description. Further, if you want to dive into the specifications of the Counterfactual protocol you can read them here.

Packages

Solidity Packages

Package Version Description
@counterfactual/cf-funding-protocol-contracts npm Contracts implementation of the Counterfactual funding protocol
@counterfactual/cf-adjudicator-contracts npm Contracts implementation of an AppInstance Adjudicator

Typescript/Javascript Packages

Counterfactual-specific packages

Package Version Description
@counterfactual/node npm The core state channels client that a user runs
@counterfactual/cf.js npm A JS API for interacting with off-chain apps
@counterfactual/node-provider npm Wrapper around API calls to a Node

Utilities

Package Version Description
@counterfactual/types npm Shared type declarations
@counterfactual/typescript-typings npm Shims for external library typings

Contributing

Ethereum Networks

The Playground currently only supports the Kovan network.

Installing dependencies

Make sure you have Yarn v1.19.0 installed. For easy management of specific Yarn versions, we recommend using Yarn Version Manager (YVM).

To install the dependencies:

yarn

Building packages

It is recommended (optional) that you installed solc compiler binary on your machine (installation guide) and specify the following in your .env under cf-funding-protocol-contracts and apps

NATIVE_SOLC=true

To build all packages:

yarn build

Clean

To clean all packages:

yarn clean

Lint

To lint all packages:

yarn lint

To also apply automatic fixes:

yarn lint:fix

Tests

To run all tests:

yarn test

To run E2E tests:

  • If you're using E2E tests for the first time or have done recent changes to the code, run:
yarn test:e2e:setup
  • If you're re-running tests or writing new scenarios, run:
NODE_EXTENDED_PRIVATE_KEY="..." yarn test:e2e

See the "Funding the Hub Account for Playground Testing" section on the Simple Hub Server package for more information about NODE_EXTENDED_PRIVATE_KEY.

Patches

We generate patches using the patch-package tool with a workaround described in this issue for yarn workspaces.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].