Skip to content

Commit 7848915

Browse files
authored
chore: update production chain id and migrator endpoint (#130)
1 parent db09b44 commit 7848915

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/desktop/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
http-equiv="Content-Security-Policy"
88
content="
99
default-src 'self';
10-
connect-src 'self' https://*.iota.org https://*.iota.works https://*.iota.cafe https://raw.githubusercontent.com/iotaledger/firefly/main/packages/shared/lib/chrysalis.json https://raw.githubusercontent.com/iotaledger/participation-events/master/results/staking/ https://d36tzso9lqxl3c.cloudfront.net/results/staking/ https://iotatreasury.org/how-voting-works.html https://migrator-api.iota-alphanet.iotaledger.net;
10+
connect-src 'self' https://*.iota.org https://*.iota.works https://*.iota.cafe https://raw.githubusercontent.com/iotaledger/firefly/main/packages/shared/lib/chrysalis.json https://raw.githubusercontent.com/iotaledger/participation-events/master/results/staking/ https://d36tzso9lqxl3c.cloudfront.net/results/staking/ https://iotatreasury.org/how-voting-works.html https://migrator-api.iota-alphanet.iotaledger.net https://migrator-api.stardust-mainnet.iotaledger.net;
1111
object-src 'none';
1212
style-src 'self' 'unsafe-inline';
1313
media-src 'self'"

packages/shared/lib/migration.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ const HARDWARE_ADDRESS_GAP = 3
6363
const CHECKSUM_LENGTH = 9
6464

6565
const DEVELOP_BASE_URL = 'https://migrator-api.iota-alphanet.iotaledger.net'
66-
const PRODUCTION_BASE_URL = 'https://migrator-api.iota-alphanet.iotaledger.net'
67-
// TODO: Update these constants with the real production values
66+
const PRODUCTION_BASE_URL = 'https://migrator-api.stardust-mainnet.iotaledger.net'
67+
6868
const DEVELOP_CHAIN_ID = 'atoi1ppvjyr3nz8mwd6h7pahtgf4emcd3z9kpgys6hn2w5mnahmxu4t2gwvgxd92'
69-
const PRODUCTION_CHAIN_ID = 'atoi1ppvjyr3nz8mwd6h7pahtgf4emcd3z9kpgys6hn2w5mnahmxu4t2gwvgxd92'
69+
const PRODUCTION_CHAIN_ID = 'iota1pphx6hnmxqdqd2u4m59e7nvmcyulm3lfm58yex5gmud9qlt3v9crs9sah6m'
7070

7171
export const removeAddressChecksum = (address: string = ''): string => address.slice(0, -CHECKSUM_LENGTH)
7272

0 commit comments

Comments
 (0)