Skip to content

Commit

Permalink
CORE-1838 update config to point to sepolia (#890)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Dichtl <[email protected]>
Co-authored-by: Hayden Fowler <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent 3aa3eda commit f171ee6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions packages/immutablex_client/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ const production = () => createImmutableXConfiguration({
*/
const sandbox = () => createImmutableXConfiguration({
basePath: 'https://api.sandbox.x.immutable.com',
chainID: 5,
coreContractAddress: '0x7917eDb51ecD6CdB3F9854c3cc593F33de10c623',
registrationContractAddress: '0x1C97Ada273C9A52253f463042f29117090Cd7D83',
chainID: 11155111,
coreContractAddress: '0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98',
registrationContractAddress: '0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97',
});

export interface ImxOverrides {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ const getCoreSdkConfig = (environment: EnvironmentNames) => {
case EnvironmentNames.DEV: {
return Config.createConfig({
basePath: "https://api.dev.x.immutable.com",
chainID: 5,
coreContractAddress: "0xd05323731807A35599BF9798a1DE15e89d6D6eF1",
chainID: 11155111,
coreContractAddress: "0x590C809bd5FF50DCb39e4320b60139B29B880174",
registrationContractAddress:
"0x7EB840223a3b1E0e8D54bF8A6cd83df5AFfC88B2",
"0x2F76E4e48A5f9e517765B70a4DEc67781d35A199",
});
}
default: {
Expand Down
8 changes: 4 additions & 4 deletions packages/provider/src/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ import { ProviderConfiguration } from '../config';

export const privateKey1 = 'd90915fa5bce418a23184c9asdfasfasdf5c8e900e3035cf34e2dd36';
export const privateKey2 = '013fe4a5265bc6deb3f3b524b987sdf987f8c7a8ec2a998ae0512f493d763c8f';
const testChainId = 5;
const testChainId = 11155111;
export const transactionResponse = {
hash: 'some-hash',
};

const imxConfig: ImmutableXConfiguration = {
ethConfiguration: {
chainID: testChainId,
coreContractAddress: '0x7917eDb51ecD6CdB3F9854c3cc593F33de10c623',
registrationContractAddress: '0x1C97Ada273C9A52253f463042f29117090Cd7D83',
coreContractAddress: '0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98',
registrationContractAddress: '0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97',
},
apiConfiguration: {
accessToken: undefined,
Expand Down Expand Up @@ -58,7 +58,7 @@ export const getTokenAddress = (symbol: string): string => {
},
{
symbol: 'IMX',
tokenAddress: '0x1facdd0165489f373255a90304650e15481b2c85', // IMX address in goerli
tokenAddress: '0x2Fa06C6672dDCc066Ab04631192738799231dE4a', // IMX address in sepolia
},
];
const token = tokenAddresses.find((tkn) => tkn.symbol === symbol);
Expand Down

0 comments on commit f171ee6

Please sign in to comment.