https://github.com/crossbell-box/upgrade-via-multisigwallet
https://github.com/crossbell-box/upgrade-via-multisigwallet
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crossbell-box/upgrade-via-multisigwallet
- Owner: Crossbell-Box
- Created: 2022-08-30T05:44:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T23:13:33.000Z (about 2 years ago)
- Last Synced: 2025-06-01T00:02:39.461Z (about 1 year ago)
- Language: Solidity
- Size: 704 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Upgrade via Multisig Contract
[](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
```