https://github.com/cryptogarageinc/cg-cfd-js
https://github.com/cryptogarageinc/cg-cfd-js
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cryptogarageinc/cg-cfd-js
- Owner: cryptogarageinc
- License: mit
- Created: 2019-09-02T11:49:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-11-18T00:52:30.000Z (7 months ago)
- Last Synced: 2025-11-18T02:18:38.969Z (7 months ago)
- Language: C++
- Size: 2.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```