Skip to content

Simple shared wallet contract enables you to store ERC20 tokens and Ethereum which can be accessed and managed by several admin wallets.

Notifications You must be signed in to change notification settings

CYBRToken/simple-shared-wallet

Repository files navigation

Simple Shared Wallet

Simple shared wallet contract enables you to store ERC20 tokens and Ethereum funds which can be accessed and managed by not only you (the contract owner) but also several other admin wallets. This reduces your risk exposure as you are not relying on the owner wallet only as this could possibly be a single point of failure. This is not an alternative to or a replacement of multi-sig wallets.

Other Use Cases

This contract could also be useful for smart contract developers if you want to protect your client's funds by managing tokens and Ethereum in a smart contract which can also be accessed by other admin wallets when you are unavailable.

Features

  • Store ERC20 compatible token and Ethereum in the contract.
  • Admins can transfer the tokens held in the contract to any wallet.
  • The owner can define the maximum value limit of token or Ethereum transfer per transaction.
  • Admins can perform bulk transfer to save gas.
  • Admins can pause the contract in case of emergency.
  • Admins can assign other admins to perform token or Ethereum transfers.
  • The owner can assign a trustee wallet which will be able to change the owner in case of emergency.
  • etc

How to Install?

Install Truffle Tools

https://truffleframework.com

Clone the Repository

git clone https://github.com/CYBRToken/simple-shared-wallet

Install Packages

npm install

Running Tests

Start Local RPC Client

ganache-cli

Run Tests

truffle test

Run Coverage Tool

npm run coverage

Open the file ./coverage/index.html to view report.

Generate Documentation

rm -r ./build
truffle compile
solidoc

Continue to Full Documentation

Who is Using This?

You May Also Like

About

Simple shared wallet contract enables you to store ERC20 tokens and Ethereum which can be accessed and managed by several admin wallets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published