AstarNetwork / astar-apps

The official Astar Network portal for accessing your tokens and other native features!
https://portal.astar.network/
GNU General Public License v3.0
69 stars 92 forks source link
astar-network blockchain quasar-framework vue3

astar-cover

[![License](https://img.shields.io/github/license/AstarNetwork/astar-apps?color=green)](https://github.com/AstarNetwork/astar-apps/blob/main/LICENSE)
[![Twitter URL](https://img.shields.io/twitter/follow/AstarNetwork?style=social)](https://twitter.com/AstarNetwork) [![Twitter URL](https://img.shields.io/twitter/follow/ShidenNetwork?style=social)](https://twitter.com/ShidenNetwork) [![YouTube](https://img.shields.io/youtube/channel/subscribers/UC36JgEF6gqatVSK9xlzzrvQ?style=social)](https://www.youtube.com/channel/UC36JgEF6gqatVSK9xlzzrvQ) [![Discord](https://img.shields.io/badge/Discord-gray?logo=discord)](https://discord.gg/astarnetwork) [![Telegram](https://img.shields.io/badge/Telegram-gray?logo=telegram)](https://t.me/PlasmOfficial) [![Medium](https://img.shields.io/badge/Medium-gray?logo=medium)](https://medium.com/astar-network)

Astar Portal

Astar Portal App - the application for using everything that Astar Network offers. This project is made with Vue 3 + TypeScript + Quasar.

Usage

Ensure that you have Yarn and Node.js 18.x.

# install the dependencies
yarn

# run the local dev page
yarn dev

# build the project
yarn build

E2E Testing

For E2E testing, we utilize chopsticks and playwright to mandatorily write test cases that test all of business logic.

Setup chopsticks

npx @acala-network/chopsticks@latest xcm -p=tests/chopsticks/astar.yml -p=tests/chopsticks/acala.yml -r=tests/chopsticks/polkadot.yml

Running tests locally in debug mode

yarn playwright:codegen
yarn playwright
yarn playwright tests/dappstaking-transactions.spec.ts

Running test in CI mode

BASE_URL='http://localhost:8080' yarn playwright:ci

Write test cases