third library to manage private key of other chains.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libbitcoin
secp256k1
CMakeLists.txt
README
run_cmake_x64.bat
setenv_x64.bat

README

1. 下载源码(默认文件夹名称为blocklink_crosschain_privatekey)
    项目会生成两个lib:blocklink_libbitcoin_secp256k1.lib  blocklink_libbitcoin.lib

2. 编译项目, 然后install: blocklink_crosschain_privatekey/third_libs目录下会多出blocklink_libbitcoin_secp256k1.lib  blocklink_libbitcoin.lib
   blocklink项目中crosschain_privatekey_management子项目调用

3. blocklink项目中crosschain_privatekey_management子项目调用
   整个blocklink项目编译时,cmake需加入CROSSCHAIN_PRIVATEKEY_PROJECT环境变量(也就是在setenv_x64.bat中设置):
可以参照的示例:
@echo off
set GRA_ROOT=E:\blocklink_project
set OPENSSL_ROOT=%GRA_ROOT%\OpenSSL.x64
set OPENSSL_ROOT_DIR=%OPENSSL_ROOT%
set OPENSSL_INCLUDE_DIR=%OPENSSL_ROOT%\include
set BOOST_ROOT=%GRA_ROOT%\boost_1_57_0
set CROSSCHAIN_PRIVATEKEY_PROJECT=%GRA_ROOT%\blocklink_crosschain_privatekey


set PATH=%GRA_ROOT%\CMake\bin;%BOOST_ROOT%\lib;%PATH%

echo Setting up VS2013 environment...
call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64