Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 981 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 981 Bytes

Sponsor Contract

Test Coverage Badge

Product Vision

This contract is used to open community donation capabilities, which can form a mutual aid atmosphere in the community, which is conducive to building a developer ecosystem. Donation refers to donating to DApp. Users can register the DApp to be donated by themselves, and specify the contract address, contract homepage, and beneficiary address.

Contract Function

  • registerDapp : anyone can register their Dapps
  • deregisterDapp: registrant can deregitrant their Dapp
  • modifyDapp : registrant can modify their Dapp info
  • takedownDapp: admin can takedown Dapp that do not comply with the regulations
  • sponsor: anyone can sponsor their favorite Dapp

Setup

npm install

# test
truffle test

# test coverage
npm run test:coverage