Skip to content

graphprotocol/registry-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenRegistry

TokenRegistry is an on-chain registry of tokens. It will be indexed as a subgraph on The Graph, and re-used across a variety of dApps and other subgraphs which need to reference token data.

Repo Structure

This monorepo contains:

Setup

Prerequisites:

  • nvm
  • yarn
  • docker-compose
  • Docker Daemon Running!

Run these commands from the root directory:

  • Install Dependencies
    • nvm install $(cat .nvmrc)
    • nvm use $(cat .nvmrc)
    • yarn
  • Build
    • yarn build
  • Start
    • yarn start
    • Wait for everything to start & deploy...
    • Visit http://localhost:8080

If you'd like to completely reset your local environment, run yarn reset:env.

Using The dApp

Setup Metamask

  • Use localhost:8545 provider
  • The following private keys have testnet funds
    • 0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d
    • 0x6cbed15c793ce57650b9877cf6fa156fbef513c4e6134f022a85b1ffdd59b2a1
    • 0x6370fd033278c143179d81c5526140625662b8daa446c22ee2d73db3707e620c
    • 0x646f1ce2fdad0e6deeeb5c7e8e5543bdde65e86029e2fd9fc169899c440a7913
    • 0xadd53f9a7e588d003326d1cbf9e4a43c061aadd9bc938c843a79e7b4fd2ad743
    • 0x395df67f0c2d2d9fe1ad08d1bc8b6627011959b79c53d7dd6a3536a33ab8a4fd
    • 0xe485d098507f54e7733a205420dfddbe58db035fa577fc294ebd14db90767a52
    • 0xa453611d9419d0e56f499079478fd72c37b251a94bfde4d19872c44cf65386e3
    • 0x829e924fdf021ba3dbbc4225edfece9aca04b929d6e75613329ca6f1d31c0bb4
    • 0xb0057716d5917badaf911b193b12b910811c1497b5bada8d7711f758981c3773

NOTE: If transactions fail try clearing the account history, which will reset the nonce to 0.

TODO: dApp usage guides (adding, removing, voting, etc)

Development

TODO: how to develop each package & test [in & out of app]

About

Starting point for apps that curate data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published