Skip to content

Commit

Permalink
Claim NFTs minting POC (#12)
Browse files Browse the repository at this point in the history
* feat: upload claim metadata to IPFS using NFTStorage

* feat: add Alchemy websocket to receive notifications about NFT mints

* feat: fetch claim metadata from IPFS

* feat: save claim NFTs data from Alchemy WS notifications on Postgres

* feat: add nftStatus column to claim

* feat: store claim NFT data

* feat: save Alchemy hook NFT mint data
  • Loading branch information
blocknomad authored Aug 4, 2022
1 parent bdfa553 commit bfb4bd0
Show file tree
Hide file tree
Showing 19 changed files with 20,789 additions and 6,544 deletions.
15 changes: 9 additions & 6 deletions ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ const ormConfig: TypeOrmModuleOptions = {
migrations: [process.env.POSTGRES_MIGRATIONS],
migrationsTableName: process.env.POSTGRES_MIGRATIONS_TABLE_NAME,
migrationsRun: process.env.POSTGRES_MIGRATIONS_RUN === 'true',
ssl: {
rejectUnauthorized: true,
ca: fs
.readFileSync(join(process.cwd(), 'certs/ca-certificate.crt'))
.toString(),
},
ssl:
process.env.NODE_ENV === 'development'
? false
: {
rejectUnauthorized: true,
ca: fs
.readFileSync(join(process.cwd(), 'certs/ca-certificate.crt'))
.toString(),
},
cli: {
migrationsDir: './src/migrations',
},
Expand Down
Loading

0 comments on commit bfb4bd0

Please sign in to comment.