Skip to content
CCTime frontend
Branch: master
Clone or download
Latest commit e01b330 Jul 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build clone to remote Jul 11, 2017
config clone to remote Jul 11, 2017
src 🔨 Fix: dumplicate bind Jan 31, 2018
static add refresh in account and avoid the \#publish happen Sep 8, 2017
test/unit clone to remote Jul 11, 2017
.babelrc clone to remote Jul 11, 2017
.editorconfig clone to remote Jul 11, 2017
.eslintignore clone to remote Jul 11, 2017
.eslintrc.js clone to remote Jul 11, 2017
.gitignore bug fix Nov 8, 2017
.postcssrc.js clone to remote Jul 11, 2017
.swp 8.16 commit Aug 16, 2017
README.md Enhance README Jul 18, 2018
desktop.ini wait for facing public Sep 4, 2017
favicon.ico add favicon Sep 7, 2017
index.html Add the fontend check of address in innerTranfer Nov 10, 2017
package.json Update asch-js to 1.3.10 Nov 10, 2017

README.md

CCTime-Frontend

The CCTime Dapp consists of two parts:
This repository is the frontend part of the Dapp, the cctime-backend is the backend part which includes the smart contract code.

Important

For this repository to work you need to have the cctime-backend part on your local Asch blockchain registered and installed.
Therefore please follow the installation instructions on the cctime-backend repository and then come back and start the frontend part of CCTime.

CCTIME


Prepare Frontend

This frontend needs to connect to the right Dapp.
A Dapp is identified through a DappId. So we need to adjust the DappId in the src/vuex/actions.js file.

TODO

Change the current DappId beginning with d352263... with your DappId you got after the registration of your Dapp.

src/vuex/actions.js

import Identicon from 'identicon.js'
import aschJS from 'asch-js'
// 存储异步操作,获取数据用commit操作mutation
let baseUrl = '/api/dapps/<your Dapp Id>' // 真实环境

Install Frontend Dependencies

# install dependencies
npm install

Run Frontend

This command starts the frontend on localhost:8080

npm run dev

Questions

If you have questions, please ask them on the gitter asch-development chat.

License

The GPLv3 License.

Copyright (c) 2017-2018 Asch

You can’t perform that action at this time.