Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

๐Ÿš€ Voyager API workshop demo

License

Notifications You must be signed in to change notification settings

neelkamath/voyager-api-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Voyager API Workshop

Demos Voyager's REST API by generating a notification when new events associated with a specified contract get generated on Goerli.

Installation

  1. Install Node.js.

  2. Clone the repo using one of the following methods:

    • SSH: git clone git@github.com:neelkamath/voyager-api-workshop.git
    • HTTPS: git clone https://github.com/neelkamath/voyager-api-workshop.git
  3. Change the directory:

    cd voyager-api-workshop
  4. Install the dependencies:

    npm i
  5. Edit the contract address used on line 78 of src/index.tsx to use your own wallet.

Usage

  1. Run the project:

    npm start
  2. Open http://localhost:1234.

  3. Click Subscribe and allow notifications.

  4. Open the console to see the events printed.

  5. Execute a transaction using the wallet you specified during installation to get a notification of such.

  6. Once you're done, press control + C to exit.

License

This project is under the MIT License.

About

๐Ÿš€ Voyager API workshop demo

Topics

Resources

License

Stars

Watchers

Forks