Skip to content

Commit

Permalink
chore: bump version & update README (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite authored Sep 1, 2022
1 parent 218be7d commit a7fddd7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 11 deletions.
45 changes: 38 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,60 @@
# SubQuery Starter Project for Juno
# Ledger SubQuery

This is a starter project for Indexing Juno. It includes a simple blockhandler and an event handler. This project indexes all transfer events in juno-1.
This is the Fetch ledger SubQuery project, an indexer for the Fetch network.

# Getting Started

### 1. Install dependencies
# Developing

## Getting Started

### 1. Ensure submodules are updated

```shell
git submodule update --init --recursive
```

### 2. Install dependencies

```shell
yarn

# install submodule dependencies
(cd ./subql && yarn)
```

### 2. Generate types
### 3. Generate types

```shell
yarn codegen
```

### 3. Build
### 4. Build

```shell
yarn build

# build submodule
(cd ./subql && yarn build)
```

### 4. Run locally
### 5. Run locally

```shell
yarn start:docker
```

## End-to-end Testing

### 1. Install dependencies

```shell
pipenv install
```

### 2. Run all e2e tests

_Note: end-to-end tests will truncate tables in the DB and interact with the configured fetchd node._

```shell
pipenv run python -m unittest discover -s ./test
```
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cosmos-subquery-starter",
"version": "0.0.1",
"description": "This project can be use as a starting point for developing your Cosmos (Juno) based SubQuery project",
"name": "ledger-subquery",
"version": "0.1.0",
"description": "This is the Fetch Ledger SubQuery project, an indexer for the Fetch network.",
"main": "dist/index.js",
"scripts": {
"build": "subql build",
Expand All @@ -17,7 +17,7 @@
"schema.graphql",
"project.yaml"
],
"author": "SubQuery Team",
"author": "SubQuery & Fetch.ai Teams",
"license": "MIT",
"devDependencies": {
"@cosmjs/stargate": "^0.28.9",
Expand Down

0 comments on commit a7fddd7

Please sign in to comment.