Skip to content

Akachain/hstx-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akachain - High Secure Transaction Samples

Sample applications for implementing hstx-node-sdk.

This project includes hstx-front-end, hstx-dapp projects.

Installation

Before installing, download and install Node.js.

Quick Start

1. hstx-front-end

Vuejs Application

Go to directory

cd hstx-front-end

Install dependencies

npm install

Run in develop mode, application will be running at port 8080

npm run serve

Build production for deployment

npm run build

2. hstx-dapp

Nodejs Appplication

Go to directory

cd hstx-dapp

Grant access permission for registry https://npm.pkg.github.com/

Create file .npmrc

// Linux/MacOS command
touch .npmrc

Config registry to install akaChain SDK

// Linux/MacOS command
echo "registry=https://npm.pkg.github.com/Akachain" >> .npmrc

Get your personal access token on github: Access to gibhub, choose settings 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

// Linux/MacOS command
echo "//npm.pkg.github.com/:_authToken=your_token"

Install dependencies

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

npm start

About

AKC - High Secure Transaction implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors