Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.66 KB

File metadata and controls

53 lines (35 loc) · 1.66 KB

Multi-Signature Wallet

IMO fancy hardware stuff is all overrated and most people should just store the bulk of their coins in a multisig (>= 5 participants) where most of the keys are held by trusted family and friends. [--== From vitalik.eth ==--]]

So let's use Multi-Signature Wallet.

solidity remix

Features ⚡

EIP712 Test UI


How to use 🤔

To get started with this boilerplate, you just need to follow these simple steps:

  1. Deploy demo contract with script

    npx hardhat run --network sepolia scripts/multisig/deploy_multisig.js
    
  2. Create postgres storage on Vercel

  3. Create tables and insert default data

    node scripts/multisig/seed.js
    
  4. Operate and observe data changes to understand contract features

    // 重点,直传hash在合约部分利用ecrecover检查签名会对不上 [{ message: txHash! }]
    const hash = await signMessageAsync({ message: { raw: txHash! } })

License

By MIT licensed.