npm install
npm run serve
npm run build
npm run test
npm run lint
npm run test:unit
configurations of this project are for BOS testnent You need to set network configuration as BOS mainnet before you deploy
// set in src/assets/constants.js
// blockchain network, please set as BOS mainnet information
NETWORK = {
blockchain: 'eos',
protocol: 'https',
host: 'bostest.api.blockgo.vip',
port: 443,
chainId: '33cc2426f1b258ef8c798c34c0360b31732ea27a2d7e35a65797850a86d1ba85'
}
// blockchain api node, please set as BOS mainnet node
NODE_ENDPOINT = 'https://bostest.api.blockgo.vip'
// Backend server address, please set as your backend url
BACKEND_URL = ''
// data from tally https://github.com/EOS-Nation/bos-referendum-tally, please change to BOS mainnet tally
API_POLL_TALLY: 'https://s3.amazonaws.com/bostest.referendum/referendum/tallies/latest.json',
API_GET_ALL_VOTES: 'https://s3.amazonaws.com/bostest.referendum/eosio.forum/vote/latest.json',
API_GET_ALL_ACCOUNTS: 'https://s3.amazonaws.com/bostest.referendum/referendum/accounts/latest.json',
API_GET_ALL_PROXIES: 'https://s3.amazonaws.com/bostest.referendum/referendum/proxies/latest.json'