Skip to content

Commit

Permalink
fix: updated Astar Docs links (#905)
Browse files Browse the repository at this point in the history
* fix: links

* fix: Acala and Karura endpoints

* fix: words for ledgerNotOpened
  • Loading branch information
impelcrypto committed Aug 18, 2023
1 parent 06d0bcb commit 612344a
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/components/assets/transfer/XcmBridge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/>
<div v-if="isH160" class="row--withdrawal-address-format">
<a
href="https://docs.astar.network/docs/xcm/faq/#q-where-can-i-find-other-chains-addresses"
href="https://docs.astar.network/docs/learn/xcm/faq/#q-where-can-i-find-other-chains-addresses"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/config/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const supportWalletObj = {
name: 'Polkadot.js',
source: SupportWallet.PolkadotJs,
walletUrl: 'https://polkadot.js.org/extension/',
guideUrl: 'https://docs.astar.network/docs/user-guides/create-wallet/#create-account',
guideUrl: 'https://docs.astar.network/docs/use/user-guides/create-wallet',
isSupportBrowserExtension: true,
isSupportMobileApp: false,
},
Expand Down
2 changes: 1 addition & 1 deletion src/data/ads.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"img": "https://firebasestorage.googleapis.com/v0/b/astarnetwork-a4924.appspot.com/o/astar-dapps%2F0x1de7c3A07918fb4BE9159703e73D6e0b0736CaBC_rIb1fUz3_400x400%20(1).jpeg?alt=media&token=3832d94b-81bd-4e12-9d8b-96d83896ed3a",
"title": "What is dApp Staking",
"subtitle": "Learn our unique solution",
"link": "https://docs.astar.network/docs/dapp-staking/"
"link": "https://docs.astar.network/docs/build/dapp-staking/#what-is-dapp-staking"
},
{
"img": "https://firebasestorage.googleapis.com/v0/b/astarnetwork-a4924.appspot.com/o/astar-dapps%2F0x1de7c3A07918fb4BE9159703e73D6e0b0736CaBC_rIb1fUz3_400x400%20(1).jpeg?alt=media&token=3832d94b-81bd-4e12-9d8b-96d83896ed3a",
Expand Down
2 changes: 1 addition & 1 deletion src/data/featured_dapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"category": "Developer Incentive",
"title": "",
"subtitle": "Join the community and know how it works",
"link": "https://docs.astar.network/docs/dapp-staking/"
"link": "https://docs.astar.network/docs/build/dapp-staking/#what-is-dapp-staking"
},
{
"img": "",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en-US/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default {
insufficientExistentialDeposit:
'Account balances in {network} network is below than the existential deposit amount',
withdrawalNotSupport: "The portal doesn't support withdrawing to {chain} at this moment",
ledgerNotOpened: 'Ledger has not opened Astar App',
ledgerNotOpened: 'Ledger has not opened Astar App. Please open it and refresh this page.',
},
toast: {
transactionFailed: 'Transaction failed with error: {message}',
Expand Down
2 changes: 1 addition & 1 deletion src/links/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const docsUrl = {
topPage: 'https://docs.astar.network',
evmDeposit:
'https://docs.astar.network/tutorial/how-to-send-astr-sdn-from-metamask-to-polkadot.js',
troubleShooting: 'https://docs.astar.network/docs/user-guides/troubleshooting',
troubleShooting: 'https://docs.astar.network/docs/use/user-guides/troubleshooting',
};

export const socialUrl = {
Expand Down
6 changes: 3 additions & 3 deletions src/modules/information/faq/dapp-staking/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import { Faq } from 'src/modules/information';
export const faqDappStaking: Faq[] = [
{
title: 'What is dApp Staking?',
url: 'https://docs.astar.network/docs/dapp-staking',
url: 'https://docs.astar.network/docs/build/dapp-staking',
},
{
title: 'How can my project get listed?',
url: 'https://docs.astar.network/docs/dapp-staking/for-devs/register-dapp',
url: 'https://docs.astar.network/docs/build/dapp-staking/for-devs/register-dapp',
},
{
title: 'How can I unstake?',
url: 'https://docs.astar.network/docs/dapp-staking/for-stakers/unbonding',
url: 'https://docs.astar.network/docs/build/dapp-staking/for-stakers/unbonding',
},
];
28 changes: 14 additions & 14 deletions src/modules/information/faq/transfer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { Faq } from 'src/modules/information';
export const faqH160Transfer: Faq[] = [
{
title: 'What is Astar Native Account and how do I create it?',
url: 'https://docs.astar.network/docs/user-guides/create-wallet',
url: 'https://docs.astar.network/docs/use/user-guides/create-wallet',
},
{
title: 'How do I send ASTR to Exchanges?',
url: 'https://docs.astar.network/docs/user-guides/transfer-tokens/#sending-astrsdn-to-central-exchanges-from-astar-network',
url: 'https://docs.astar.network/docs/use/user-guides/transfer-tokens/#sending-astrsdn-to-centralized-exchanges-from-astar-network',
},
{
title: 'What is the easiest way to bring tokens to Astar from other chains?',
url: 'https://docs.astar.network/docs/user-guides/xc-swap',
url: 'https://docs.astar.network/docs/use/user-guides/xc-swap',
},
{
title: 'Any video tutorials available for new users?',
Expand All @@ -22,15 +22,15 @@ export const faqH160Transfer: Faq[] = [
export const faqH160XcmBridge: Faq[] = [
{
title: 'How can I find my other chains addresses?',
url: 'https://docs.astar.network/docs/xcm/faq#q-where-can-i-find-other-chains-addresses',
url: 'https://docs.astar.network/docs/learn/xcm/faq/#q-where-can-i-find-other-chains-addresses',
},
{
title: 'What is the easiest way to bring tokens to Astar from other chains?',
url: 'https://docs.astar.network/docs/user-guides/xc-swap',
url: 'https://docs.astar.network/docs/use/user-guides/xc-swap',
},
{
title: 'What is Minimum Balance?',
url: 'https://docs.astar.network/docs/user-guides/transfer-tokens#cross-chain-transferxcm',
url: 'https://docs.astar.network/docs/use/user-guides/transfer-tokens/#cross-chain-transfer-xcm',
},
{
title: 'Any video tutorials available for new users?',
Expand All @@ -41,37 +41,37 @@ export const faqH160XcmBridge: Faq[] = [
export const faqSs58Transfer: Faq[] = [
{
title: 'How can I send ASTR/SDN from Exchanges to Portal?',
url: 'https://docs.astar.network/docs/user-guides/transfer-tokens#sending-astrsdn-to-astar-network-from-central-exchanges',
url: 'https://docs.astar.network/docs/use/user-guides/transfer-tokens/#sending-astrsdn-to-centralized-exchanges-from-astar-network',
},
{
title: 'What is Minimum Balance?',
url: 'https://docs.astar.network/docs/user-guides/transfer-tokens#cross-chain-transferxcm',
url: 'https://docs.astar.network/docs/use/user-guides/transfer-tokens/#cross-chain-transfer-xcm',
},
{
title: 'Any video tutorials available for new users? ',
title: 'Any video tutorials available for new users?',
url: 'https://www.youtube.com/c/AstarNetwork',
},
];

export const faqSs58XcmBridge: Faq[] = [
{
title: 'What is XCM?',
url: 'https://docs.astar.network/docs/xcm/',
url: 'https://docs.astar.network/docs/learn/xcm/using-xcm/',
},
{
title: 'How can I find my other chains addresses?',
url: 'https://docs.astar.network/docs/xcm/faq#q-where-can-i-find-other-chains-addresses',
url: 'https://docs.astar.network/docs/learn/xcm/faq/#q-where-can-i-find-other-chains-addresses',
},
{
title: 'What is the easiest way to bring tokens to Astar from other chains?',
url: 'https://docs.astar.network/docs/user-guides/xc-swap',
url: 'https://docs.astar.network/docs/use/user-guides/xc-swap',
},
{
title: 'What is Minimum Balance?',
url: 'https://docs.astar.network/docs/user-guides/transfer-tokens#cross-chain-transferxcm',
url: 'https://docs.astar.network/docs/use/user-guides/transfer-tokens/#cross-chain-transfer-xcm',
},
{
title: 'Any video tutorials available for new users? ',
title: 'Any video tutorials available for new users?',
url: 'https://www.youtube.com/c/AstarNetwork',
},
];
4 changes: 2 additions & 2 deletions src/modules/xcm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export let xcmChainObj: XcmChainObj = {
relayChain: Chain.KUSAMA,
img: require('/src/assets/img/token/kar.png'),
parachainId: parachainIds.KARURA,
endpoint: 'wss://karura.api.onfinality.io/public-ws',
endpoint: 'wss://karura-rpc-0.aca-api.network',
subscan: 'https://karura.subscan.io',
isAstarNativeToken: true,
},
Expand All @@ -128,7 +128,7 @@ export let xcmChainObj: XcmChainObj = {
relayChain: Chain.POLKADOT,
img: require('/src/assets/img/token/aca.png'),
parachainId: parachainIds.ACALA,
endpoint: 'wss://acala-polkadot.api.onfinality.io/public-ws',
endpoint: 'wss://acala-rpc-0.aca-api.network',
chopsticksEndpoint: 'ws://localhost:9946',
subscan: 'https://acala.subscan.io',
isAstarNativeToken: true,
Expand Down

1 comment on commit 612344a

@4everland
Copy link

@4everland 4everland bot commented on 612344a Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following parameters

parameters Value
IC b5oiz-tyaaa-aaaag-abp6a-cai
Assigned domain https://b5oiz-tyaaa-aaaag-abp6a-cai.ic0.app/
Custom domain https://decentralized.portal.astar.network

Please sign in to comment.