Skip to content

Commit

Permalink
Remove graph api (#112)
Browse files Browse the repository at this point in the history
* tests passing

* wip

* update build stuff

* Update example app

* format

* update README

* wip

* update yarn.lock
  • Loading branch information
johnpmitsch authored Dec 18, 2023
1 parent 584604c commit 9f5e715
Show file tree
Hide file tree
Showing 215 changed files with 47 additions and 33,474 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"ethers": "^6.1.0",
"express": "~4.18.2",
"graphql": "^16.5.0",
"klona": "^2.0.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hooks-global-state": "^2.1.0",
Expand Down
11 changes: 0 additions & 11 deletions packages/apps/examples/sdk-api/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ if (process.env.ADDITIONAL_SDK_HEADER_KEY) {
process.env.ADDITIONAL_SDK_HEADER_VALUE,
};
}
export const api = new QuickNode.API(opts);
export const apiPolygon = new QuickNode.API({
...opts,
defaultChain: 'polygon',
});
export const nfts = api.nfts;
export const tokens = api.tokens;
export const utils = api.utils;
export const contracts = api.contracts;
export const transactions = api.transactions;
export const events = api.events;

export const core = new QuickNode.Core({
endpointUrl: process.env['QUICKNODE_ENDPOINT_URL'] || '',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
try {
const input: QNFetchNFTInput = {
wallet: req.params.wallet,
contracts: ['0x8D0501d85becDA92B89E56177dDfcEA5Fc1f0AF2'],
contracts: ['0x93C46aA4DdfD0413d95D0eF3c478982997cE9861'],
};
const response = await core.client.qn_fetchNFTs(input);
console.log(response);
Expand Down

This file was deleted.

This file was deleted.

131 changes: 0 additions & 131 deletions packages/apps/examples/sdk-api/src/controllers/nft.controller.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/apps/examples/sdk-api/src/controllers/token.controller.ts

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions packages/apps/examples/sdk-api/src/controllers/util.controller.ts

This file was deleted.

Loading

0 comments on commit 9f5e715

Please sign in to comment.