An open API service indexing awesome lists of open source software.

https://github.com/cryptogarageinc/cg-cfd-js


https://github.com/cryptogarageinc/cg-cfd-js

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Crypto Finance Development Kit for JavaScript (CFD-JS)

JavaScript wrapper of cfd libraries

## Dependencies

- C/C++ Compiler
  - can compilefe c++11
- CMake (3.14.3 or higher)
- Python 3.x
- node.js (stable version)

### Windows

download and install files.
- Visual Studio (Verified version is 2017 or higher)
- use for compiler only
- Visual Studio Build Tools (2017 or higher)
- cmake (3.14.3 or higher)
- Python 3.x

### MacOS

- [Homebrew](https://brew.sh/)

```Shell
# xcode cli tools
xcode-select --install

# install dependencies using Homebrew
brew install cmake python node
```

### Linux(Ubuntsu)

```Shell
# install dependencies using APT package Manager
apt-get install -y build-essential cmake python nodejs
```

cmake version 3.14.2 or lower, download from website and install cmake.
(https://cmake.org/download/)

---

## Build

### Using cmake-js

When using the cmake-js package and npm script, the options for compilation are already set.

```Shell
npm install
npm run cmake_all
```

---

## Example

### Test

```Shell
npm run test_all
```

### Example

### Bitcoin

```
npm run example
```

### Elements

```
npm run elements_example
```