servatj / multisig-wallet

Multisig Wallet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MultiSig Wallet

image

This is a multisig wallet. The purpose of this repo is to have this project as portfolio and try to mantain and keep refactoring with best practices about solidity programing.

Warning / Disclaimer

This smart contracts have never been audited if you have an idea and need a project with similar contracts audited, you can contact me via PM on @servatj.

Deploy in local

Bootstrap Smarts contracts in local with truffle develop console.

   npx truffle develop

In truffle console migrate the smart contracts in order to deploy them in your tesnet blockchain

  migrate --reset

image

once you migrate you can pick address from there and add your playground accounts in your local in metamask

run test in truffle console

Running smartcontract tests inside truffle, just type test

image

Setup metamask

In order to be able to run this Ethereum Dapp you have to install metamask to use it in your browser. (you can use other ethereum compatible ethereum wallet)

Install Metamask extension https://metamask.io/ if you got stuck in the FAQ you will find how to install metamask then in the footer you can get the docs. Create an issue if you don't know what to do I will try to help you ASAP.

image

They you can add some accounts to metamask from the copy keys you generated in truffle console. Only approvers can do transfers, the approvers by default are the ones from 0 to 2 address, the ones that truffle uses when we deploy the smart contract in local.

https://medium.com/publicaio/how-import-a-wallet-to-your-metamask-account-dcaba25e558d

Start the client

 cd client
 yarn start

Deploy on testnet

In this repo we are using Infura so you need to set some configuration and get the kovan endpoint. Generate fakes keys for kovan.

https://vanity-eth.tk/

  truffle migrate --reset --network kovan

Deploy on mainnet

Recall that this smart contracts hadn't been audited.

Contribute

About

Multisig Wallet


Languages

Language:JavaScript 85.7%Language:Solidity 8.1%Language:HTML 6.1%Language:Shell 0.1%