With this system you can create unlimited multiSig wallets with unlimited signatures for each of them.You can access to your wallet with your password and your personal wallet address.you can charge your wallet and submit a transaction, confirm it and execute.
Transactions are executed only when all those who have the right to sign in that wallet sign that transaction.
After that, the transaction is executed and the money is transferred from the multi-signature wallet to the destination and an amount is sent as a fee to the contract maker.
- Run Ganache
- Edit
truffle-config.js
to your ganache RPC SERVER - Download source code and go to source code path
- run
truffle test
for run test script ortruffle migrate
for access to truffle console.
Name | Description | Input Parameters | Returns |
---|---|---|---|
addMultiSig | Add a new multi signiture wallet | password, multi signiture wallet addresses as an array | - |
submitTransaction | Submit a transaction | password, destination address, amount | - |
confirmTransaction | confirm a transaction | password, transaction id | - |
revokeTransaction | revoke a transaction | password, transaction id | - |
executeTransaction | execute a transaction | password, transaction id | - |
getOwners | Get multi signature wallet owners address | password | owners addresses |
getTransaction | Get transcation information | password, transaction id | transcation information |
getBalance | Get multi signature wallet balance | password | multi signature wallet balance |
getAddress | Get multi signature wallet address | password | multi signature wallet address |
chargeWallet | Send money to your multi signature wallet | password | - |