Skip to content

Notiboy-Project/smart-contract-private

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notiboy Smart Contract

Smart contract is written here

Architecture

image

Supports

  1. Sending public notification https://github.com/Notiboy-Project/notiboy-sc/blob/842017f3ca35c390cacc128e98726b6cc8f36410/sc.py#L229
  2. Sending personal notification to user https://github.com/Notiboy-Project/notiboy-sc/blob/842017f3ca35c390cacc128e98726b6cc8f36410/sc.py#L211
  3. Watermarking dapps with verified tag https://github.com/Notiboy-Project/notiboy-sc/blob/842017f3ca35c390cacc128e98726b6cc8f36410/sc.py#L185
  • Opt in registers dapp/user.
    • As part of opt in, the address of the entity and the lsig are stored in global state after validations.
    • Payment of a prescribed fee is validated here
  • Public notification is written to the local state of dapp.
  • Private notification is written to the local state of user.
  • Verification updates the global state of the smart contract for the verified dapp.

To Develop

  1. Create venv python3.10 -m venv env
  2. For sandbox, pyteal and algosdk use only python3.10
  3. pip3.10 install py-algorand-sdk pyteal

About

Notiboy Smart Contract - Under Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published