Skip to content

MFChain/mfc-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MFC-CLI provides an external API for basic wallet functions

Prerequisites

You will need Window or Linux. Use a virtual machine if you have a Mac. Ubuntu 14 and 16 are supported. Ubuntu 17 is not supported.

Install .NET Core.

On Linux, install the LevelDB and SQLite3 dev packages. E.g. on Ubuntu:

sudo apt-get install libleveldb-dev sqlite3 libsqlite3-dev libunwind8-dev

On Windows, use the Neo version of LevelDB.

Download pre-compiled binaries

See also official docs. Download and unzip latest release.

dotnet mfc-cli.dll

Compile from source

Clone the mfc-cli repository.

cd mfc-cli
dotnet restore
dotnet publish -c Release

In order to run, you need version 1.1.2 of .Net Core. Download the SDK binary.

Assuming you extracted .Net in the parent folder:

../dotnet bin/Release/netcoreapp1.0/mfc-cli.dll .

Usage

See documentation. E.g. try show state or create wallet wallet.db3.