From 9031c814d14661b2b48544c46d8b8e033462b4df Mon Sep 17 00:00:00 2001 From: Define101 <93603962+Define101@users.noreply.github.com> Date: Mon, 3 Jun 2024 11:42:56 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 739c277..e79cb61 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 2. `npm i` in root folder. 3. Create folder in `src/adapters/peggedAssets` with the same name as the CoinGecko id for the pegged asset. 4. In that folder, write an adapter in Typescript and name it index.ts (see below for spec). -5. In `src/adapters/peggedAssets`, `npm i` and then test your adapter with `npx ts-node test YOURPEGGEDASSET/index peggedXYZ`, where "peggedXYZ" is the key of the balance object returned by your adapter. or `npx ts-node --transpile-only test.ts YOURPEGGEDASSET peggedTYPE` +5. In `src/adapters/peggedAssets`, `npm i` and then test your adapter with `npx ts-node test YOURPEGGEDASSET/index peggedXYZ`, where "peggedXYZ" is the key of the balance object returned by your adapter. or `npx ts-node --transpile-only test.ts YOURPEGGEDASSET peggedXYZ` 6. Import your adapter in `src/adapters/peggedAssets/index.ts` and then add it to the exports. 7. (Optional) if the pegged asset has a ChainLink price feed or a liquid Uniswap V3 pool, you can add the ChainLink smart contract/Uniswap V3 pool info to `src/adapters/peggedAssets/prices/index.ts`.