Skip to content

REI-Network/rei-subgraph-example-bank

Repository files navigation

REIBank Subgraph

An example about simple bank to get you started with The Graph on REI network

Setup

install the node dependencies using

npm i

Create the TS types for The Graph (requires the artifacts folder created by contract compilation)

npm run codegen

Deploying contracts

For deploying contracts on REI testnet, you'll need a funded account and its private key. Store your private key and account address for REI testnet deployment as an ENV variable:

export ADDR = "your address"
export PRIVATEKEY = "your privatekey"

Compile the contracts:

npm run build

To deploy to a REI testnet node you can run:

npm run deploy:reitest

For more infomation see the REI docs on https://docs.rei.network/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published