From a7837ed79e9629779dcd144f7182f7ec45db8cda Mon Sep 17 00:00:00 2001 From: Wojciech Date: Thu, 11 Apr 2024 03:45:18 +0200 Subject: [PATCH 1/2] Update sdk to 0.0.7 - new test --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b173cc..e26a14a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@hookform/error-message": "^0.0.3", "@hookform/resolvers": "^0.1.0", - "@invariant-labs/sdk-eclipse": "0.0.5", + "@invariant-labs/sdk-eclipse": "0.0.7", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "^4.0.0-alpha.56", @@ -2838,9 +2838,9 @@ "peer": true }, "node_modules/@invariant-labs/sdk-eclipse": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/@invariant-labs/sdk-eclipse/-/sdk-eclipse-0.0.5.tgz", - "integrity": "sha512-JWEx69ILUDugnU1fORTM9A/++0ipZniB7L/+MD9XTKululIFHsjNb4W9i2nc50ixyvKzSYiF8BMsnR7v0WL+NA==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@invariant-labs/sdk-eclipse/-/sdk-eclipse-0.0.7.tgz", + "integrity": "sha512-InteLs7dkq3kDvmIvfWkZSsS2dZFQcqw0Jfb+Oe41wW3uRlBJcRYjOnAKJuVKEsGofcYZ3QGNWinJqycEYxMVw==", "dependencies": { "@project-serum/anchor": "0.21.0", "@solana/spl-token-registry": "^0.2.4484", diff --git a/package.json b/package.json index 917ef90..529e371 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dependencies": { "@hookform/error-message": "^0.0.3", "@hookform/resolvers": "^0.1.0", - "@invariant-labs/sdk-eclipse": "0.0.5", + "@invariant-labs/sdk-eclipse": "0.0.7", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "^4.0.0-alpha.56", From 717648a655e9fd2a7c45baf759b0c1a0ab905ced Mon Sep 17 00:00:00 2001 From: Wojciech Date: Thu, 11 Apr 2024 03:46:05 +0200 Subject: [PATCH 2/2] Update mocked token - new testnet --- src/store/consts/static.ts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/store/consts/static.ts b/src/store/consts/static.ts index 5d7a4f6..a400b7d 100644 --- a/src/store/consts/static.ts +++ b/src/store/consts/static.ts @@ -53,7 +53,7 @@ export const WETH_DEV: Token = { export const USDC_TEST: Token = { symbol: 'USDC', - address: new PublicKey('5yQMGqpB1Q1J3b8UNStkVks9nFKao1axKYsgZYeMv1ei'), + address: new PublicKey('5gFSyxjNsuQsZKn9g5L9Ky3cSUvJ6YXqWVuPzmSi8Trx'), decimals: 9, name: 'USD Coin', logoURI: @@ -63,7 +63,7 @@ export const USDC_TEST: Token = { export const BTC_TEST: Token = { symbol: 'BTC', - address: new PublicKey('97hEP4PZ2P1pQ77yCvc9NxARHttVuTVhdKmvGG1aRNGG'), + address: new PublicKey('2F5TprcNBqj2hXVr9oTssabKdf8Zbsf9xStqWjPm8yLo'), decimals: 9, name: 'Bitcoin', logoURI: @@ -73,11 +73,10 @@ export const BTC_TEST: Token = { export const WETH_TEST: Token = { symbol: 'ETH', - address: new PublicKey('F1UrAegXK6EWMh1Qprmj5ACKLCKjRkYnAWVeUr6dpAf7'), + address: new PublicKey('So11111111111111111111111111111111111111112'), decimals: 9, - name: 'Ether (Portal)', - logoURI: - 'https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/assets/ETH_wh.png', + name: 'Ether', + logoURI: 'https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/2FPyTwcZLUg1MDrwsyoP4D6s1tM7hAkHYRjkNb5w6Pxk/logo.png', coingeckoId: 'ethereum' } @@ -216,7 +215,7 @@ export const commonTokensForNetworks: Record = { export const airdropTokens: Record = { Devnet: [USDC_DEV.address, BTC_DEV.address], Mainnet: [], - Testnet: [USDC_TEST.address, BTC_TEST.address, WETH_TEST.address], + Testnet: [USDC_TEST.address, BTC_TEST.address], Localnet: [] } @@ -225,8 +224,7 @@ export const airdropQuantities: Record = { Mainnet: [], Testnet: [ 10 * 10 ** USDC_TEST.decimals, - 0.00025 * 10 ** BTC_TEST.decimals, - 0.003 * 10 ** WETH_TEST.decimals + 0.00025 * 10 ** BTC_TEST.decimals ], Localnet: [] }