An alternative and experimental client for the blockchain game NextColony.
Demo: nc-client.jarunik.com/
Documentation about NextColony: jarunik.github.io/nc-docs/
Official Game Client: nextcolony.io
Contributions to the web client are very welcome.
Please open issues for feedback, ideas, change request and bug reports.
To help with development:
- Fork the repository
- Create a feature branch
- Make a pull request
- Let jarunik know on Discord: discord.gg/A8tH9Vv
- Jarunik will review, discuss and merge the pull request.
In case you want to do bigger changes: Please describe them in an issue and discuss them with jarunik before implementation.
npm install
npm run serve
npm run build
Please check .env
for environment configurations.
Example:
VUE_APP_ROOT_API=https://nextcolony.io/api
VUE_APP_STEEMCONNECT_APP=nc-client
VUE_APP_JSON_ID=nextcolony
You can create a local file .env.development.local
to use a different configuration during development.
This will only work if you have a server providing the needed API's.
npm run server
will use the .env.development
environment by default.
VUE_APP_ROOT_API=https://locahost:8080/api
VUE_APP_STEEMCONNECT_APP=nc-client
VUE_APP_JSON_ID=nextcolony.test
More information about Environment Variables in VueJS: cli.vuejs.org/guide/mode-and-env.html#modes
The root of the API server that will provide the data through an API as specified here: jarunik.github.io/nc-docs/api/
Example call that will be created: VUE_APP_ROOT_API + "/loaduser"
This is the steemconnect app that will be used to manage the authorities. You will have to create your own to whitelist your IP.
You can find the information to create the Steemconnect App registration here: app.steemconnect.com/apps/create
You have to include the correct ID in order that the backend server will pick up your JSON transactions.
You can find more information about the JSON format here: jarunik.github.io/nc-docs/json/
The currently productive game server uses the id: nextcolony
.