Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akachain/hstx-samples
AKC - High Secure Transaction implementation
https://github.com/akachain/hstx-samples
Last synced: 12 days ago
JSON representation
AKC - High Secure Transaction implementation
- Host: GitHub
- URL: https://github.com/akachain/hstx-samples
- Owner: Akachain
- License: gpl-3.0
- Created: 2020-02-05T09:48:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-25T03:13:10.000Z (over 3 years ago)
- Last Synced: 2024-06-21T03:08:12.367Z (7 months ago)
- Language: Vue
- Size: 16.2 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Akachain - High Secure Transaction Samples
Sample applications for implementing **[hstx-node-sdk](https://github.com/Akachain/hstx-node-sdk)**.This project includes __hstx-front-end__, __hstx-dapp__ projects.
## Installation
Before installing, [download and install Node.js](https://nodejs.org/en/download/).## Quick Start
### 1. hstx-front-end
Vuejs ApplicationGo to directory
```js
cd hstx-front-end
```Install dependencies
```js
npm install
```Run in develop mode, application will be running at port 8080
```js
npm run serve
```Build production for deployment
```js
npm run build
```### 2. hstx-dapp
Nodejs Appplication__Go to directory__
```js
cd hstx-dapp
```__Grant access permission for registry https://npm.pkg.github.com/__
Create file .npmrc
```js
// Linux/MacOS command
touch .npmrc
```
Config registry to install akaChain SDK
```js
// Linux/MacOS command
echo "registry=https://npm.pkg.github.com/Akachain" >> .npmrc
```
Get your personal access token on github:
Access to [gibhub](https://github.com), choose [settings](https://github.com/settings/profile) at right-top of page. Click on _Developer settings_, _Personal access tokens_ then generate your token. Copy it to replace your_token in the following command
```js
// Linux/MacOS command
echo "//npm.pkg.github.com/:_authToken=your_token"
```__Install dependencies__
```js
npm install
```__Create and config _env_ (enviroment variables)__
- Create file .env in the root of this project
- Copy content of .env.example to .env file
- Config env variables as you want
__Run in develop mode, application will be running at port 8080__
```js
npm start
```