Skip to content

Commit 4d3b854

Browse files
committed
Updated folder structure
1 parent ff73b19 commit 4d3b854

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

scripts/validate-metadata.ts

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import Ajv from 'ajv';
2+
import { promises as fs } from 'fs';
3+
import addFormats from 'ajv-formats';
4+
import { TokenInfo, TokenList } from '@src/types';
5+
6+
const schemaPath = './src/tokenlist.schema.json';

src/tokens/ICP/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"address": "0x51ccde9ca75d95bb55ece1775fcbff91324b18a6",
3+
"decimals": 8,
4+
"name": "Internet Computer",
5+
"symbol": "ICP",
6+
"logoURI": "https://cdn.sonic.ooo/v3/token_images/0x51ccde9ca75d95bb55ece1775fcbff91324b18a6.webp"
7+
}

src/tokens/SONIC/metadata.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"address": "0x491016bf872d35a798c601d53442775c621bf91a",
3+
"decimals": 8,
4+
"name": "Sonic",
5+
"symbol": "SONIC",
6+
"logoURI": "https://cdn.sonic.ooo/v3/token_images/0x491016bf872d35a798c601d53442775c621bf91a.webp"
7+
}

0 commit comments

Comments
 (0)