A multisig wallet is a smart contract that functions as a wallet, offering enhanced security for assets by requiring multiple parties (signers) to approve transactions. Imagine it like a treasure chest that can only be unlocked when all keyholders agree.
📜 The contract tracks all transactions. Each can be approved or rejected by the signers. Only transactions with enough confirmations can be executed.
🌟 Key features:
- Propose adding/removing signers
- Transfer funds securely
- Update the number of required confirmations
- Once a transaction is proposed by any signer, it’s up to the group to confirm and execute it.
Before you begin, you need to install the following tools:
- Node (>= v18.17)
- Yarn (v1 or v2+)
- Git
- Foundryup
To get started with Scaffold-ETH 2, follow the steps below:
- Clone this repo & install dependencies
git clone https://github.com/danitome24/multisig-wallet/tree/main
cd scaffold-eth-2
yarn install && forge install --root packages/foundry
- Run a local network in the first terminal:
yarn chain
- On a second terminal, deploy the test contract:
yarn deploy
- On a third terminal, start your NextJS app:
yarn start
Visit your app on: http://localhost:3000
.