An open API service indexing awesome lists of open source software.

https://github.com/crossbell-box/upgrade-via-multisigwallet


https://github.com/crossbell-box/upgrade-via-multisigwallet

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          


CrossSync Logo

Upgrade via Multisig Contract

[![codecov](https://codecov.io/gh/Crossbell-Box/upgrade-via-multisigwallet/graph/badge.svg?token=4EE9DYI3XI)](https://codecov.io/gh/Crossbell-Box/upgrade-via-multisigwallet)

## Introduction

This repository is an implementation of a multisig contract that can be applied in general scenarios.

## Usage

### Build

```shell
npm i
forge install
forge build
```

### Test

```shell
forge test
```

### Deploy

```shell
forge script script/Deploy.s.sol:Deploy \
--chain-id $CHAIN_ID \
--rpc-url $RPC_URL \
--private-key $PRIVATE_KEY \
--verifier-url $VERIFIER_URL \
--verifier $VERIFIER \
--verify \
--broadcast --ffi -vvvv

# generate easily readable abi to /deployments
forge script script/Deploy.s.sol:Deploy --sig 'sync()' --rpc-url $RPC_URL --broadcast --ffi
```