A multi-signature wallet is a wallet that has multiple owners. In order to execute a transaction, a sufficient number of owners need to sign a transaction. This implementation uses weighted owners which means that certain owners may have more "votes" when it comes to increasing the number of approvals in order to surpass the minimum threshold for execution. This implementation allows owners to be both Fuel and EVM addresses; by additionally supporting signatures over EIP-191 formatted messages.
More information can be found in the specification.
The project consists of a smart contract.
multisig-wallet
├── multisig-contract
│ ├── src/main.sw
│ └── tests/harness.rs
├── README.md
└── SPECIFICATION.md
TODO: The user interface does not currently exist.
In order to run the subsequent commands change into the following directory /path/to/multisig-wallet/<here>
.
forc build --locked
Before running the tests the programs must be compiled with the command above.
cargo test --locked