Skip to content

Solidity smart contract code for simple multisig wallet

License

Notifications You must be signed in to change notification settings

Al-Qa-qa/multisigwallet

Repository files navigation

Simple Multisig Wallet Solidity Contract

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact
  6. Acknowledgments

About The Project

This project aims to solve the problems of saving wallets private keys, where if you forgot your private key, you will lose or your money. Multisig wallets allow users to make a wallet of more than one key, and if one key is missed, its not a problem you still can access your funds.

We used blockchain technology, the ethereum network, and smart contract development technology to achieve our goal.

The smart contract is written in solidity, and we used JS/TS to test and interact with the contract.

Built With

The smart contract is built using hardhat framework, ethersjs and some other packages and dependencies that speeds up in development process.

  • Soliditylang
  • Hardhat

Getting Started

This is an example of how to run the smart contract locally on your computer.

Prerequisites

You need to check if nodejs and npm are installed on your computer first.

npm --version
node --version

If you don't have node, you can install it from there official website

Installation

Below is an example of how to start interacting with the smart contract locally.

  1. Clone the repo
    git clone https://github.com/Al-Qa-qa/multisigwallet.git
  2. Install NPM packages (remember to move to the directory multisigwallet first)
    npm install
  3. Code installed successfully, you can start testing it.

Usage

You can interact with the smart contract on the local network now.

  • npm run compile to compile the solidity code
  • npm run deploy to deploy the contract on the hardhat network
  • npm run test to run the unit testing of the contract

License

This project is under the MIT License. See LICENSE for more information.

Contact

Al-Qa'qa' - @Al_Qa_qa - alqaqa.fighter@gmail.com

Project Link: https://github.com/Al-Qa-qa/multisigwallet

Acknowledgments

We used some web services, open source projects and packages that helps us in our development process, which will be listed down below.

We would like to apologize if we used a free package or service and forgot to mention it.