polkaswap-exchange-web
所属分类:其他
开发工具:Vue
文件大小:0KB
下载次数:0
上传日期:2023-10-11 15:22:03
上 传 者:
sh-1993
说明: 通过去中心化技术设计更美好的世界,
(Designing a Better World Through Decentralized Technologies,)
文件列表:
.browserslistrc (30, 2023-12-30)
.editorconfig (121, 2023-12-30)
.eslintrc.js (1866, 2023-12-30)
.jest/ (0, 2023-12-30)
.jest/register-context.js (115, 2023-12-30)
.npmrc (66, 2023-12-30)
.prettierrc.js (1309, 2023-12-30)
.yarnrc (70, 2023-12-30)
Dockerfile (85, 2023-12-30)
Jenkinsfile (1624, 2023-12-30)
Jenkinsfile-UCAN (1783, 2023-12-30)
Jenkinsfile-dast (295, 2023-12-30)
LICENSE (11346, 2023-12-30)
SECURITY.md (683, 2023-12-30)
__mocks__/ (0, 2023-12-30)
__mocks__/nft.storage.ts (27, 2023-12-30)
babel.config.js (141, 2023-12-30)
cypress.json (50, 2023-12-30)
env.json (2208, 2023-12-30)
jest.config.js (477, 2023-12-30)
package.json (3716, 2023-12-30)
public/ (0, 2023-12-30)
public/.well-known/ (0, 2023-12-30)
public/.well-known/walletconnect.txt (101, 2023-12-30)
public/about/ (0, 2023-12-30)
public/about/dark/ (0, 2023-12-30)
public/about/dark/about02-1.png (28405, 2023-12-30)
public/about/dark/about02-2.png (34866, 2023-12-30)
public/about/dark/about02x.png (59431, 2023-12-30)
public/about/dark/about03-1.png (31214, 2023-12-30)
public/about/dark/about03-2.png (33235, 2023-12-30)
public/about/dark/about03x.png (67711, 2023-12-30)
public/about/dark/about04-1.png (29024, 2023-12-30)
public/about/dark/about04-2.png (36097, 2023-12-30)
public/about/dark/about04x.png (43505, 2023-12-30)
public/about/dark/about05-1.png (37941, 2023-12-30)
... ...
# polkaswap-exchange-web
## Project deploy info
There is `public/env.json` file which contains `BASE_API_URL` and `DEFAULT_NETWORKS` variables.
`BASE_API_URL` will be used for the address of the current stand.
`DEFAULT_NETWORKS` variable has the following format:
```
"DEFAULT_NETWORKS": [
{
"chain": "SORA-staging Testnet",
"name": "SORA",
"address": "wss://ws.stage.sora2.soramitsu.co.jp"
}
]
```
`"chain"` is used as the chain name.
`"name"` is used as the node name.
`"address"` is used for the address of the node to which the frontend project will be connected.
`DEFAULT_NETWORKS[0]` must be a Soramitsu trusted node. App used it's `genesisHash` to check custom user node for connection
`CHAIN_GENESIS_HASH` should be defined for 'prod' & 'stage' environments, to not polling nodes for getting it (because genesis hash for these env's not changing).
## Project setup
```
yarn install
```
### Compiles and hot-reloads for development
```
yarn serve
```
### Compiles and minifies for production
```
yarn build
```
### Run your unit tests
```
yarn test:unit
```
### Run your end-to-end tests
```
yarn test:e2e
```
### Run all tests
```
yarn test:all
```
### Lints and fixes files
```
yarn lint
```
## Desktop scripts
### Compiles and hot-reloads for development
```
yarn electron:serve
```
### Compiles and minifies for production
```
yarn electron:build
```
### Build for all platforms
```
yarn electron:build --linux --mac zip dmg --win portable --x64 --ia32
```
Executable files (`.exe`, `.dmg` or `.snap`) will be located in `dist_electron` folder.
近期下载者:
相关文件:
收藏者: