Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # Trigger the workflow every month
- cron: '0 0 1 * *' # Trigger the workflow every month

jobs:
build_and_check:
Expand All @@ -14,15 +14,18 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn && yarn build
- name: Install dependencies (frozen) and build
run: |
yarn install --frozen-lockfile
yarn build

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.7.0
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --verbose "./src/modules/information/faq/dapp-staking/index.ts" "./src/modules/information/faq/transfer/index.ts" "./src/modules/information/faq/xvm-transfer/index.ts" "./src/links/index.ts" "./src/data/ads.json" "./src/data/dynamic_links.json"
args: --verbose "./src/modules/information/faq/dapp-staking/index.ts" "./src/modules/information/faq/transfer/index.ts" "./src/links/index.ts" "./src/data/ads.json" "./src/data/dynamic_links.json" "./src/config/wallets.ts"

- name: Create Issue From File
if: env.lychee_exit_code != 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: lint
run: |
yarn
yarn install --frozen-lockfile
yarn lint
working-directory: ./
run_tests:
Expand All @@ -33,7 +33,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: unit_test
run: |
yarn
yarn install --frozen-lockfile
yarn test
working-directory: ./
build_code:
Expand All @@ -50,6 +50,6 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: build
run: |
yarn
yarn install --frozen-lockfile
yarn build
working-directory: ./
11 changes: 7 additions & 4 deletions .github/workflows/pull-request-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm install -g yarn
- run: yarn && yarn build
- name: Install dependencies (frozen) and build
run: |
yarn install --frozen-lockfile
yarn build
- id: deploy_firebase_hosting_channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand All @@ -49,9 +52,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
run: yarn install --frozen-lockfile
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/s3-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
with:
node-version: 18

- name: install dependencies & build
run: yarn && yarn build
- name: Install dependencies (frozen) and build
run: |
yarn install --frozen-lockfile
yarn build

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/s3-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn && yarn build
- name: Install dependencies (frozen) and build
run: |
yarn install --frozen-lockfile
yarn build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ astar-collator
# Chopstick binaries
db.sqlite*
.vercel
CLAUDE.md
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
Binary file removed public/images/dapp_promotions/Archisinal.png
Binary file not shown.
Binary file removed public/images/dapp_promotions/apeXchimpz.jpg
Binary file not shown.
Binary file removed public/images/dapp_promotions/astr_token.png
Binary file not shown.
Binary file removed public/images/dapp_promotions/destore.jpg
Binary file not shown.
Binary file removed src/assets/img/banner/banner-eth-rebate.png
Binary file not shown.
3 changes: 1 addition & 2 deletions src/components/assets/transfer/Information.vue
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ import {
faqH160XcmBridge,
faqSs58Transfer,
faqSs58XcmBridge,
faqSs58XvmTransfer,
getTxHistories,
hotTopics,
RecentHistory,
Expand Down Expand Up @@ -167,7 +166,7 @@ export default defineComponent({
if (props.transferType === HistoryTxType.LZ_BRIDGE) {
return faqZkEthereumBridge;
}
return faqSs58XvmTransfer;
return [];
});

const setTxHistories = async (): Promise<void> => {
Expand Down
7 changes: 0 additions & 7 deletions src/components/bridge/ccip/Ccip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
/>
<div v-if="rightUi === 'information'">
<information :transfer-type="HistoryTxType.CCIP_BRIDGE" :is-history="false" />
<div v-if="isGasRebate" class="row--banner">
<img
class="banner--eth-rebates"
src="~assets/img/banner/banner-eth-rebate.png"
alt="eth-rebate"
/>
</div>
</div>
<select-chain
v-if="rightUi === 'select-chain'"
Expand Down
3 changes: 0 additions & 3 deletions src/components/bridge/ccip/CcipBridge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@
})
}}
</li>
<li v-if="toChainName === CcipNetworkName.Soneium">
{{ $t('bridge.rebate') }}
</li>
<li>
{{ $t('bridge.warningCcipTime', { time: bridgeTime }) }}
</li>
Expand Down
4 changes: 0 additions & 4 deletions src/components/bridge/ccip/styles/ccip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@
}
}

.row--banner {
margin-top: 16px;
}

.banner--eth-rebates {
width: 348px;
border-radius: 6px;
Expand Down
27 changes: 8 additions & 19 deletions src/config/chainEndpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export const providerEndpoints: ChainProvider[] = [
info: 'Smart contract platform for decentralized applications (dapps) on the Polkadot network',
endpoints: [
{ name: 'Astar', endpoint: 'wss://rpc.astar.network' },
{ name: 'Dwellir', endpoint: 'wss://astar-rpc.dwellir.com' },
{ name: 'Blast', endpoint: 'wss://astar.public.blastapi.io' },
{ name: 'Dwellir', endpoint: 'wss://astar-rpc.n.dwellir.com' },
{ name: 'OnFinality', endpoint: 'wss://astar.api.onfinality.io/public-ws' },
{ name: 'Light Client (experimental)', endpoint: 'light://substrate-connect/polkadot/astar' },
],
Expand All @@ -54,11 +53,7 @@ export const providerEndpoints: ChainProvider[] = [
subscan: 'https://astar.subscan.io',
blockscout: 'https://blockscout.com/astar',
evmChainId: '592',
evmEndpoints: [
'https://evm.astar.network',
'https://astar.public.blastapi.io',
'https://astar.api.onfinality.io/public',
],
evmEndpoints: ['https://evm.astar.network', 'https://astar.api.onfinality.io/public'],
faucetEndpoint: 'https://us-central1-facuet-bot.cloudfunctions.net/app/astar',
defaultLogo:
'https://github.com/AstarNetwork/astar-apps/blob/main/src/assets/img/chain/astar.png?raw=true',
Expand All @@ -69,8 +64,7 @@ export const providerEndpoints: ChainProvider[] = [
info: 'Smart contract platform for decentralized applications (dapps) on the Kusama network',
endpoints: [
{ name: 'Shiden', endpoint: 'wss://rpc.shiden.astar.network' },
{ name: 'Dwellir', endpoint: 'wss://shiden-rpc.dwellir.com' },
{ name: 'Blast', endpoint: 'wss://shiden.public.blastapi.io' },
{ name: 'Dwellir', endpoint: 'wss://shiden-rpc.n.dwellir.com' },
{ name: 'OnFinality', endpoint: 'wss://shiden.api.onfinality.io/public-ws' },
{ name: 'Light Client (experimental)', endpoint: 'light://substrate-connect/kusama/shiden' },
],
Expand All @@ -82,11 +76,7 @@ export const providerEndpoints: ChainProvider[] = [
subscan: 'https://shiden.subscan.io',
blockscout: 'https://blockscout.com/shiden',
evmChainId: '336',
evmEndpoints: [
'https://evm.shiden.astar.network',
'https://shiden.public.blastapi.io',
'https://shiden.api.onfinality.io/public',
],
evmEndpoints: ['https://evm.shiden.astar.network', 'https://shiden.api.onfinality.io/public'],
faucetEndpoint: 'https://us-central1-facuet-bot.cloudfunctions.net/app/shiden',
defaultLogo:
'https://github.com/AstarNetwork/astar-apps/blob/main/src/assets/img/chain/shiden.png?raw=true',
Expand All @@ -97,8 +87,7 @@ export const providerEndpoints: ChainProvider[] = [
info: 'The test network of the layer 2 scaling blockchain',
endpoints: [
{ name: 'Shibuya', endpoint: 'wss://rpc.shibuya.astar.network' },
{ name: 'Dwellir', endpoint: 'wss://shibuya-rpc.dwellir.com' },
{ name: 'Blast', endpoint: 'wss://shibuya.public.blastapi.io/' },
{ name: 'Dwellir', endpoint: 'wss://shibuya-rpc.n.dwellir.com' },
{ name: 'Light Client (experimental)', endpoint: 'light://substrate-connect/tokyo/shibuya' },
],
isSupportContract: true,
Expand All @@ -109,7 +98,7 @@ export const providerEndpoints: ChainProvider[] = [
subscan: 'https://shibuya.subscan.io',
blockscout: 'https://blockscout.com/shibuya',
evmChainId: '81',
evmEndpoints: ['https://evm.shibuya.astar.network', 'https://shibuya.public.blastapi.io'],
evmEndpoints: ['https://evm.shibuya.astar.network'],
faucetEndpoint: 'https://us-central1-facuet-bot.cloudfunctions.net/app/shibuya',
defaultLogo:
'https://github.com/AstarNetwork/astar-apps/blob/main/src/assets/img/chain/shibuya.png?raw=true',
Expand All @@ -120,7 +109,7 @@ export const providerEndpoints: ChainProvider[] = [
displayName: 'Astar zkEVM Network',
endpoints: [
{ name: 'Astar', endpoint: 'wss://rpc.astar.network' },
{ name: 'Dwellir', endpoint: 'wss://astar-rpc.dwellir.com' },
{ name: 'Dwellir', endpoint: 'wss://astar-rpc.n.dwellir.com' },
{ name: 'OnFinality', endpoint: 'wss://astar.api.onfinality.io/public-ws' },
],
isSupportContract: false,
Expand All @@ -140,7 +129,7 @@ export const providerEndpoints: ChainProvider[] = [
displayName: 'zKyoto Network',
endpoints: [
{ name: 'Shibuya', endpoint: 'wss://rpc.shibuya.astar.network' },
{ name: 'Dwellir', endpoint: 'wss://shibuya-rpc.dwellir.com' },
{ name: 'Dwellir', endpoint: 'wss://shibuya-rpc.n.dwellir.com' },
],
isSupportContract: false,
typeDef: typeDefs.plasmCollatorDefinitions,
Expand Down
30 changes: 3 additions & 27 deletions src/config/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { objToArray } from '@astar-network/astar-sdk-core';
export enum SupportWallet {
PolkadotJs = 'polkadot-js',
MetaMask = 'metamask',
Clover = 'clover',
Gridlock = 'gridlock',
GridlockEvm = 'gridlockEvm',
Math = 'mathwallet',
Expand All @@ -18,7 +17,6 @@ export enum SupportWallet {
TalismanNative = 'talisman',
SubWalletNative = 'subwallet-js',
SubWalletEvm = 'SubWallet',
Metadot = 'metadot',
Wallet3 = 'wallet3',
HanaNative = 'hana',
HanaEvm = 'hanaEvm',
Expand All @@ -45,7 +43,6 @@ export const WalletModalOption = {
AccountUnification: 'AccountUnification',
Polkasafe: SupportMultisig.Polkasafe,
PolkadotJs: SupportWallet.PolkadotJs,
Clover: SupportWallet.Clover,
Gridlock: SupportWallet.Gridlock,
MetaMask: SupportWallet.MetaMask,
Math: SupportWallet.Math,
Expand All @@ -54,7 +51,6 @@ export const WalletModalOption = {
TalismanNative: SupportWallet.TalismanNative,
SubWallet: SupportWallet.SubWalletNative,
SubWalletEvm: SupportWallet.SubWalletEvm,
Metadot: SupportWallet.Metadot,
Wallet3: SupportWallet.Wallet3,
HanaNative: SupportWallet.HanaNative,
HanaEvm: SupportWallet.HanaEvm,
Expand All @@ -70,13 +66,11 @@ export const WalletModalOption = {

export const SubstrateWallets = [
SupportWallet.PolkadotJs,
SupportWallet.Clover,
SupportWallet.Gridlock,
SupportWallet.Math,
SupportWallet.Nova,
SupportWallet.TalismanNative,
SupportWallet.SubWalletNative,
SupportWallet.Metadot,
SupportWallet.Wallet3,
SupportWallet.HanaNative,
SupportWallet.OneKeyNative,
Expand All @@ -103,7 +97,8 @@ export const supportWalletObj = {
name: 'Polkadot.js',
source: SupportWallet.PolkadotJs,
walletUrl: 'https://polkadot.js.org/extension/',
guideUrl: 'https://docs.astar.network/docs/use/user-guides/create-wallet',
guideUrl:
'https://docs.astar.network/docs/use/get-started/astar-substrate-wallet/wallet/polkadot.js/install-polkadot-js',
isSupportBrowserExtension: true,
isSupportMobileApp: false,
},
Expand All @@ -112,8 +107,7 @@ export const supportWalletObj = {
name: 'Astar Snap',
source: SupportWallet.Snap,
walletUrl: 'https://snaps.metamask.io/snap/npm/astar-network/snap/',
guideUrl:
'https://docs.astar.network/docs/use/manage-wallets/wallet-providers/metamask-astar-snap/',
guideUrl: 'https://snaps.metamask.io/snap/npm/astar-network/snap/',
isSupportBrowserExtension: true,
isSupportMobileApp: false,
},
Expand Down Expand Up @@ -144,15 +138,6 @@ export const supportWalletObj = {
isSupportBrowserExtension: true,
isSupportMobileApp: true,
},
[SupportWallet.Clover]: {
img: require('/src/assets/img/logo-clover.png'),
name: 'Clover',
source: SupportWallet.Clover,
walletUrl: 'https://clover.finance/',
guideUrl: 'https://docs.clover.finance/quick-start/about-clover',
isSupportBrowserExtension: true,
isSupportMobileApp: false,
},
[SupportWallet.Math]: {
img: require('/src/assets/img/logo-mathwallet.png'),
name: 'Math Wallet',
Expand All @@ -171,15 +156,6 @@ export const supportWalletObj = {
isSupportBrowserExtension: false,
isSupportMobileApp: true,
},
[SupportWallet.Metadot]: {
img: require('/src/assets/img/logo-metadot.png'),
name: 'Metadot',
source: SupportWallet.Metadot,
walletUrl: 'https://metadot.app/',
guideUrl: 'https://docs.metadot.app/install-metadot-on-chrome-and-firefox',
isSupportBrowserExtension: true,
isSupportMobileApp: false,
},
[SupportWallet.HanaNative]: {
img: require('/src/assets/img/logo-hana.png'),
name: 'Hana Wallet (Native)',
Expand Down
26 changes: 1 addition & 25 deletions src/data/dapp_promotions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,16 @@
"link": "https://NEET.gg",
"img": "images/dapp_promotions/NEET.png"
},
{
"name": "Archisinal",
"shortDescription": "Pioneering Real-World-Assets in the built environment",
"link": "https://www.archisinal.io/",
"img": "images/dapp_promotions/Archisinal.png"
},
{
"name": "DeStore",
"shortDescription": "Web3 Shopify Powered by Astar",
"link": "https://twitter.com/DeStore_Network",
"img": "images/dapp_promotions/destore.jpg"
},
{
"name": "Lucky - No-loss lottery",
"shortDescription": "The more you stake, the more chance you have to win a raffle!",
"link": "https://portal.astar.network/astar/dapp-staking/dapp?dapp=zsv1gvepvmwfdshmwgczs4zyvmmwesbjwqjn4wdpuefrrpy",
"img": "images/dapp_promotions/lucky.png"
},
{
"name": "apeXchimpz (AXC)",
"shortDescription": "Stake for FREE #modularNFTs, guaranteed! We take NFTs further...",
"link": "https://www.apexchimpz.com/dapp-on-astar",
"img": "images/dapp_promotions/apeXchimpz.jpg"
},
{
"name": "Algem - Liquid Staking",
"shortDescription": "Receive one liquid nASTR token for every ASTR token you stake. Then use nASTR to yield farm on the ecosystem to maximize your earnings.",
"link": "https://www.algem.io/",
"img": "images/dapp_promotions/algem.jpg"
},
{
"name": "ASTR token, value and utility",
"shortDescription": "How the ASTR Token Brings Utility and Value to the Astar Ecosystem",
"link": "https://astar.network/blog/how-the-astr-token-brings-utility-and-value-to-the-astar-39387",
"img": "images/dapp_promotions/astr_token.png"
}
]
]
Loading
Loading