Skip to content

ryanjshaw/stokefire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stoke Fire Dune Dashboard Support Scripts & Notes

Architecture

This is the overall architecture of the Stoke Fire Dune Dashboard.

You can click the hyperlink folders if you open the SVG directly to travel to the relevant Dune workspace folders.

Overview

Links

  1. Stoke Fire Dashboard
  2. Library
  3. Events Folder
  4. Off-chain Folder
  5. Helpers Folder
  6. Dashboard Folder

Upgrading Contract ABIs

Dune supports in-place updates of ABIs whenever new events are added to the contract. While you can upload an ABI per facet, this is impractical and requires extra work. I wrote a script to automate the process of taking the existing StokeFireAbi.ts from the stokefire-mono-repo and converting it into a single unified outputAbi.json file.

Note: Decoded projects are a public good and cost nothing to run or update.

1. Update src/StokeFireAbi.ts from stokefire-mono-repo.

2. Run the script

npm i
npm run build && npm run export-abi

This will produce a single unified outputAbi.json file in the root directory.

3. Upload the outputAbi.json file to the Dune 'Submit Contract' UI.

Flow

4. Events should be visibile in the Dune Data Explorer within a few minutes

5. Backfilled event data should be available within 24 hours.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors