Skip to content

An interactive widget to be included on project DAPPs

Notifications You must be signed in to change notification settings

kogecoin/widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open DeFi Notifications Protocol Widget

This package contains the widget to be included on a project's DAPP or web site to allow users to quickly setup their on-chain event notifications.

Implementation notes

  1. include this package in your project
  2. create an instance of the class ODNP (open defi notification protocol).
  3. on load of your project call the init function.
odnp.init();
  1. create a button to open the popup that shows the instructions to the user.
  2. assign the onclick event of that button to the show function, passing the user wallet address and the project identifier on the Open DeFi Notification Protocol.
odnp.show('0xC8da773F54Ce6fcffFd5B8cC1F76542D2B75c412','projectId');

About

An interactive widget to be included on project DAPPs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.2%
  • Vue 6.7%
  • HTML 1.1%