Skip to content
/ trusty Public

Next.js dApp with multi-signature smart contract + factory deployer

License

Notifications You must be signed in to change notification settings

Ramsi88/trusty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trusty Multi-Signature Factory

LICENSE: MIT

Author: Ramzi Bougammoura

INSTALLATION and ENVIRONMENT SETUP

# Clone recursively with each submodule
git clone --recursive https://github.com/Ramsi88/trusty.git

# Clone the parent and then updates the submodules
git clone https://github.com/Ramsi88/trusty.git
git submodule update --init --recursive

cd trusty
cd trusty-contracts
npm i
touch .env
npm run start # local deploy
npm run deploy # network deploy
cd ..
cd trusty-app
npm i
touch .env
npm run dev/start/build

FEATURES/TODOs

  • Serialize delegate call data
  • Check & Manage multiple Network
  • Integrate ERC20-Token & ERC721-1155 logic

ABOUT

Trusty is a product/service directed towards the individual or the business…

Trusty is on the Goerli TestNet network and allows you to create and manage an infinite number of 2/3 or 3/3 multi-signature smart-contracts/wallets, but it is possible to create variants with specifications on request as its modularity and scalability make it a versatile and powerful tool for different applications.

For the single individual, if you are afraid of a single private key, you can use up to 2 more for the management of a single wallet with double or even triple security

It can be a manager of TXs and a way to "diversify" funds (always traceable by the experts)… Is it possible to manage any ERC20 compatible Token.

It can be used to build a safe vault or use several small abstract account and wallets to divide up savings or expenses.

The trustyFactory (contract generator and deployer of single trusty multi-signature contract) along with the dApp can be used as a bundle for companies to manage internal employees payments or interactions with other companies in the market that have smart contracts.

It is rather modular and adaptable therefore, in addition to acting as a service that delivers and deploys Trusty vaults for customers upon payment of a commission, it can also be "installed" for internal services or scaled for any use-case where management/multiple validation/mediation is needed.

A single Trusty can be a corporate vault managed by a few directors or actors delegated to, or several Trustys can act as tools for operating capital for various departments each with its own fund but with the common supervision of a private key or two of the CEOs or managing directors or, if desired, can also act for the internal payment of employees.

It can be used as a deposit fund or as an interaction tool for DeFi, or simply as an NFT or Token management wallet, a bit like a mini-DAO between individuals or several Trusties together.

The trusty can also be seen as a mini governance/DAO that uses funds to interact on the web3 as if it were a unique wallet/entity.

All the big institutions that have large amounts of capital in crypto all use multi-signature wallets on purpose because they are a high level of security.

It goes without saying that it could be adapted very well in the mediation of the use-cases identified in the real estate sector, logistic, crowdfunding, etc…

  • [You access trusty.app and enter the addresses or ENSs of the other two owners/validators with which to create a Trusty multi-signature wallet and select the minimum number of confirmations that Trusty will need to spend the funds and execute transactions depending on configuration needed.]

  • [Once you have created your Trusty, the address will appear in the dApp and an interface for managing its transactions which allows you to deposit funds in the Trusty and create transactions which can then be confirmed/revoked/executed by the other validators/owners of the Trusty.]

  • [If instead you are the creator or owner of a Trusty, the TXs proposed by the other owners will appear, if existing, ready for confirmation and execution.]

  • [* The use of ENS works if you have registered the domain on Goerli otherwise it does not identify the associated address]

The creation of a trusty/wallet/vault takes place upon payment of the service with 0.10 ETH + fee (currently 0 ETH + fee on TestNet) to the TrustyFactory (the Smart-Contract generator of single Trusty smart-contracts of which only the owner/deployer can withdraw the funds ) The subsequent deposit of funds (management of the trusty) can be mediated by the TrustyFactory (which "if desired" could retain a percentage of the deposits (mediation and costs for the chain management of operations on Trustys).

A trusty can interact with other contracts at will by calling their functions.

  • Example: I send a tx to the trusty by setting the "data" parameter in order to spend the funds to call a contract function such as that of the AAVE protocol to deposit collateral or to mint an NFT or a fungible Token from a contract which issues ERC20,ERC721,ERC115 tokens. Just indicate in the "data" field (now disabled) the name of the function to call and in the "to" field of course the contract with which to interact.

About

Next.js dApp with multi-signature smart contract + factory deployer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published