Skip to content

Commit 62a0798

Browse files
committed
fix
1 parent f7de24a commit 62a0798

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/ixeo.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@ import { ApiPromise, WsProvider } from '@polkadot/api';
343343
import { typesBundleForPolkadot } from '@crustio/type-definitions';
344344
import { Keyring } from '@polkadot/keyring';
345345

346-
const crustChainEndpoint = 'wss://rpc.crust.network'; // More endpoints: https://github.com/crustio/crust-apps/blob/master/packages/apps-config/src/endpoints/production.ts#L9
346+
const crustChainEndpoint = 'wss://rpc.{{currentHostname}}'; // More endpoints: https://github.com/crustio/crust-apps/blob/master/packages/apps-config/src/endpoints/production.ts#L9
347347
const ipfsW3GW = 'https://crustipfs.xyz'; // More web3 authed gateways: https://github.com/crustio/ipfsscan/blob/main/lib/constans.ts#L29
348-
const crustSeeds = 'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx'; // Create account(seeds): https://wiki.crust.network/docs/en/crustAccount
348+
const crustSeeds = 'xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx'; // Create account(seeds): https://wiki.{{currentHostname}}/docs/en/crustAccount
349349
const api = new ApiPromise({
350350
provider: new WsProvider(crustChainEndpoint),
351351
typesBundle: typesBundleForPolkadot,
@@ -383,7 +383,7 @@ async function main() {
383383
// II. Place storage order
384384
await placeStorageOrder(rst.cid, rst.size);
385385
// III. [OPTIONAL] Add prepaid
386-
// Learn what's prepard for: https://wiki.crust.network/docs/en/DSM#3-file-order-assurance-settlement-and-discount
386+
// Learn what's prepard for: https://wiki.{{currentHostname}}/docs/en/DSM#3-file-order-assurance-settlement-and-discount
387387
const addedAmount = 100; // in pCRU, 1 pCRU = 10^-12 CRU
388388
await addPrepaid(rst.cid, addedAmount);
389389

0 commit comments

Comments
 (0)