Giter Club home page Giter Club logo

cfd-csharp's Introduction

Crypto Finance Development Kit for C# (CFD-CSHARP)

Dependencies

Windows

  • C# (7.1 or higher)
    • .NET Framework 4.7 or higher
    • .NET Core 2.2.110 or higher
  • CMake (3.14.3 or higher)
  • Build Tools for Visual Studio (2017 or higher)

MacOS

  • C# (7.1 or higher)

    • .NET Core 2.2.110 or higher
  • CMake (3.14.3 or higher)

  • Homebrew

# xcode cli tools
xcode-select --install

# install dependencies using Homebrew
brew install cmake
brew cask install dotnet-sdk

Linux(Ubuntu)

  • C# (7.1 or higher)
    • .NET Core 2.2.110 or higher
  • CMake (3.14.3 or higher)
# install dependencies using APT package Manager
apt-get install -y build-essential cmake

dotnet install is see manual. (ex. https://docs.microsoft.com/dotnet/core/install/linux-package-manager-ubuntu-1804)

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


Build

Windows (Visual Studio)

# configure & build
.\tools\build.bat

Windows (.NET Core only)

  • tools/build.bat
# configure & build
.\tools\build_core3.bat

Linux & MacOSX

  • .NET Core 3.x
# configure & build
./tools/build.sh
  • .NET Core 2.x
# configure & build
./tools/build_core2.sh

Example

Test

  • Windows (Visual Studio)
.\tools\test.bat
  • Windows (.NET Core only)
.\tools\test_core3.bat
  • Linux & MacOSX
echo ".NET Core 3.x"
./tools/test.sh

echo ".NET Core 2.x"
./tools/test_core2.sh

Example

  • test/CfdTestMain.cs
    • blind/unblind: TestBlindTx()

Note

Git connection:

Git repository connections default to HTTPS. However, depending on the connection settings of GitHub, you may only be able to connect via SSH. As a countermeasure, forcibly establish SSH connection by setting CFD_CMAKE_GIT_SSH=1 in the environment variable.

  • Windows: (On the command line. Or set from the system setting screen.)
set CFD_CMAKE_GIT_SSH=1
  • MacOS & Linux(Ubuntu):
export CFD_CMAKE_GIT_SSH=1

cfd-csharp's People

Contributors

fujita-cg avatar k-matsuzawa avatar ko-matsu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.