Code Monkey home page Code Monkey logo

ovm-og-multisigwallet's Introduction

Optimistic Ethereum Multisignature Wallet

The original Gnosis multisig wallet, updated to work on Optimistic Ethereum. The repository for the EVM-only version of this project can be found here.

The purpose of multisig wallets is to increase security by requiring multiple parties to agree on transactions before execution. Transactions can be executed only when confirmed by a predefined number of owners. A web user interface can be found here.

Use

The frontend is available for use with Optimistic Ethereum at https://ogg.scopelift.co. It can be used with Optimistic Mainnet or Optimistic Kovan testnet.

The MultiSigWalletFactory contract is deployed at the following addresses:

Network Factory Address
Optimistic Mainnet 0xA5e6EFdA500FD0BCEd87B2cd8Af1c81c0cc9D556
Optimistic Kovan 0x676Fcee7AF0dD0060b238d00d43A5542f3aA3B3e

Install

NOTE: We recommend installing volta for managing versions of node, npm, and yarn.

The contracts development environment has been tested with node v10.23.3. The frontend in app/ is tested with node v14.16.0 and yarn v1.22.10. Both projects will automatically use the appropriate versions if your system has volta installed.

git clone https://github.com/ScopeLift/ovm-og-multisigwallet.git
cd ovm-og-multisigwallet

# Install contract dev dependencies
npm install

# Run contract tests for the EVM
npm test

# Run contract tests for the OVM
npm run test:ovm

# Install frontend dev dependencies
cd app
yarn

# Run frontend in dev mode
yarn dev

# Build static frontend in out/
yarn export

Deploy Contracts

The deployment script will deploy MultiSigWalletFactory, then instantiate the first MultiSigWallet with the deployer as the single owner

Create .env file

cp .env.example .env
# Edit your .env file and populate with valid values

Deploy to local development EVM

npm run deploy

Deploy to other EVM network in truffle-config.js

npm run deploy -- --network=kovan

Deploy to local development OVM

npm run deploy:ovm

To run a local OVM network, see the Optimism integration repo

Deploy to other OVM network

npm run deploy:ovm -- --network=kovan

Note the valid networks are local, kovan, and mainnet, and are NOT defined by the contents of truffle-config-ovm.js. See deploy/deploy-ovm.js for more information.

Limitations

This implementation does not allow the creation of smart contracts via multisignature transactions. Transactions to address 0 cannot be done. Any other transaction can be done.

Security

All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

License

LGPL v3

ovm-og-multisigwallet's People

Contributors

adrion avatar apbendi avatar carchrae avatar davidalbela avatar denisgranha avatar dsalko avatar ethers avatar georgi87 avatar germartinez avatar giacomolicari avatar gitter-badger avatar ldct avatar leviadam avatar mischat avatar rmeruane avatar someguy123 avatar wabieth avatar wildmolasses 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.