Skip to content

Commit

Permalink
feat: added support the EVM-like chain Fantom
Browse files Browse the repository at this point in the history
  • Loading branch information
yohuohuohuo committed Feb 8, 2023
1 parent 56d28cb commit 57b0f5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ The SDK currently supports the following chains:
| Optimism | optimismapi.nftscan.com | optimism |
| PlatON | platonapi.nftscan.com | platon |
| Avalanche | avaxapi.nftscan.com | avalanche |
| Solana | solanaapi.nftscan.com | solana |
| Cronos | cronosapi.nftscan.com | cronos |
| Fantom | fantomapi.nftscan.com | fantom |
| Solana | solanaapi.nftscan.com | solana |

*The value of **Short name** is used in the SDK as an initialization configuration parameter.*

Expand Down Expand Up @@ -62,6 +63,7 @@ export enum EvmChain {
PLATON = 'platon',
AVALANCHE = 'avalanche',
CRONOS = 'cronos',
FANTOM = 'fantom',
}
```

Expand Down
1 change: 1 addition & 0 deletions src/types/nftscan-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export enum EvmChain {
PLATON = 'platon',
AVALANCHE = 'avalanche',
CRONOS = 'cronos',
FANTOM = 'fantom',
}

/**
Expand Down
1 change: 1 addition & 0 deletions src/util/nftscan.const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default class NftscanConst {
solana: 'https://solanaapi.nftscan.com/api',
avalanche: 'https://avaxapi.nftscan.com/api',
cronos: 'https://cronosapi.nftscan.com/api',
fantom: 'https://fantomapi.nftscan.com/api',
};

/**
Expand Down

0 comments on commit 57b0f5d

Please sign in to comment.