Skip to content

soramitsu/adar

 
 

Repository files navigation

adar

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.

About

Designing a Better World Through Decentralized Technologies

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 60.5%
  • TypeScript 33.9%
  • HTML 2.5%
  • Solidity 1.4%
  • SCSS 1.2%
  • JavaScript 0.5%