Skip to content

Commit

Permalink
Merge pull request #33 from omahs/patch-1
Browse files Browse the repository at this point in the history
Fix minor typos
  • Loading branch information
Jurshsmith authored Oct 20, 2023
2 parents 10a8c49 + 358bab2 commit 725b6d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ It is a great alternative to theGraph [https://thegraph.com/](https://thegraph.c

Example Usage:

Indexing states of NFTs (`NftState`) for Bored Ape Yatch Club and Doodle's contracts in a Postgres DB.
Indexing states of NFTs (`NftState`) for Bored Ape Yacht Club and Doodle's contracts in a Postgres DB.

1. Setup state by specifying its RDBMS's(Postgres) table name and migration:

Expand Down Expand Up @@ -114,7 +114,7 @@ use chaindexing::{Chain, Chaindexing, Chains, Config, Contract, PostgresRepo, Re
async fn main() {
// Setup BAYC's contract
let bayc_contract = Contract::new("BoredApeYachtClub")
// add transfer event and it's corresponding handler
// add transfer event and its corresponding handler
.add_event("event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)", TransferEventHandler)
// add migration for the state's DB schema
.add_state_migrations(NftStateMigrations)
Expand Down

0 comments on commit 725b6d8

Please sign in to comment.