Skip to content

edgeware-builders/safe-contracts

 
 

Repository files navigation

Gnosis Safe Contracts

npm version Build Status Coverage Status

Install

Install requirements with yarn:

yarn

Run all tests:

yarn build
yarn test

Deploy

Some contracts require that the Solidity compile target is at least petersburg (e.g. GnosisSafeProxyFactory and MultiSend). This is default since Solidity 0.5.5.

Note: The formal verification was performed using the contract compiled with solcjs 0.5.0.

This will deploy the contracts deterministically and verify the contracts on etherscan.

Preparation:

  • Set MNEMONIC in .env
  • Set INFURA_KEY in .env
yarn deploy-all <network>

This will perform the following steps

yarn build
yarn hardhat --network <network> deploy
yarn hardhat --network <network> etherscan-verify
yarn hardhat --network <network> local-verify

Verify contract

This command will use the deployment artifacts to compile the contracts and compare them to the onchain code

yarn hardhat --network <network> local-verify

This command will upload the contract source to Etherescan

yarn hardhat --network <network> etherscan-verify

Documentation

Audits/ Formal Verification

Security and Liability

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

License

All smart contracts are released under LGPL-3.0

About

Gnosis Safe allows secure management of blockchain assets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 65.4%
  • Solidity 25.2%
  • JavaScript 9.3%
  • Shell 0.1%