Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.08 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.08 KB

Safe protocol

This project is an implementation of Safe protocol specification

Useful commands

Install

yarn

Compile

npx hardhat compile

Test

npx hardhat test

Deploy

  • Deploy test contracts network to goerli.
    yarn hardhat deploy --network goerli --tags test-protocol --export-all deployments.ts
  • Deploy contracts with SafeProtocolRegistry registry network to goerli.
    yarn hardhat deploy --network goerli --tags protocol --export-all deployments.ts

Verify

SafeProtocolRegistry.sol/TestSafeProtocolRegistryUnrestricted.sol

yarn hardhat verify --network goerli <contract_address> <initial_owner>

SafeProtocolManager.sol

yarn hardhat verify --network goerli <contract_address> <initial_owner> <registry_address>