Giter Site home page Giter Site logo

spankchain / general-state-channels Goto Github PK

View Code? Open in Web Editor NEW
156.0 156.0 24.0 308 KB

Spankchain PoC implementation of generalized state channels

Home Page: https://spankchain.com/

License: GNU Affero General Public License v3.0

JavaScript 71.41% Solidity 28.59%

general-state-channels's People

Contributors

nfhbar avatar nginnever avatar yippee-ki-yay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

general-state-channels's Issues

Truffle compile and migrate failed.

After forking, truffle compile and truffle migrate returned several warnings and errors. I fixed the critical ones and allowed for Travis CI and Coveralls continuous integration. Some styling changes also.

Several artifacts are also missing from root, so test files cannot pass. I commented out offending blocks to allow for proper build, see here:

NFhbar@1915947

Truffle compile successful but migration on Ganache fails

Hi guys, I was looking forward to play with your contracts, so I modified truffle.js file to allow migration to a local Ganache-cli instance running on 8545.
Compilation works OK but migration seems broken.

As a related question, how the project is going in terms of readiness? Are Open/Join/Channel operations already callable in the current implementation?

Thanks.

counterfactual addresses can be made to point to arbitrary code

  1. Alice and Bob agree to be bound by a contract C
  2. deployCTF is called as part of a dispute with arguments _ctfbytes, _state, v, r, s, where the bytecode of C is included in _ctfbytes as well as _state. This creates a contract with bytecode C at counterfactual address A
  3. a third-party attacker calls deployCTF with arguments attackerBytes, _state, v, r, s. Now counterfactual address A points to a contract with code attackerBytes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.