Published 3 June 2019

Using of Credits API in JS (demo).

Requirements

Requirements

Git is a free and open source distributed version of control system designed to handle everything from small to very large projects with speed and efficiency.

https://git-scm.com/

Python is a programming language that lets you work quickly and integrate systems more effectively.

Preparing

Preparing

In this string, you should write your public key

publicKey = '[your public key]'

In this string, you should write the IP address of your running node

tr = TSocket('127.0.0.1', 9090)

Using:

    1. git clone https://github.com/CREDITSCOM/Examples, next use the folder ./API/CreditsJSDemo
    2. Windows
      1. build-windows.cmd
    3. Linux
      1. build-linux.sh

 

The result in Windows/Linux

The result in Windows/Linux

Run

 

Votes 1, average rating 5

Contents