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.
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 |
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
The deployment script will deploy MultiSigWalletFactory, then instantiate the first MultiSigWallet with the deployer as the single owner
cp .env.example .env
# Edit your .env file and populate with valid values
npm run deploy
npm run deploy -- --network=kovan
npm run deploy:ovm
To run a local OVM network, see the Optimism integration repo
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.
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.
All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.