GithubHelp home page GithubHelp logo

simple-multisig's Introduction

simple-multisig

A node tool for deploying a simple multisig contract on Ethereum. The contract itself was written by Christian Lundkvist (see repo). It is a simple threshold multisig contract, which requires addresses to be input in order (i.e. addr0 evaluates to < address1, etc).

To deploy your contract using this repo, create a file called input.json in the root directory. An example is:

{
  "owners": [
    "0x190b91d011634da9fac57fd4c6fe0a11cd881702",
    "0xe9e3b642276cb1421644dd4eff689beaf860c650",
    "0x2cb5f3e3b1e1bcb7bd59a3b28b306e7e86cb73e3",
    "0xb4267280f2f90988a91163985a8210f24af2c670",
    "0x618b2b8e6ab1f1149959990c0b123c87c8e7c7eb"
  ],
  "threshold": 3
}

Note that the addresses in the JSON file do not need to be sorted.

With the file written, use:

truffle migrate

To redeploy (e.g. with a new set of addresses), delete your build/ directory and rerun your migrations.

simple-multisig's People

Contributors

alex-miller-0 avatar

Stargazers

 avatar Ravindra Kumar avatar  avatar  avatar Noel Maersk avatar

Watchers

James Cloos avatar  avatar Peili Liang avatar  avatar

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.