Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.2 KB

Zcoin Tokens Manager

Total alerts Language grade: C#

This is a service to provide rich API for manage tokens on Zcoin Exodus Protocol.

Development

Requirements

  • .NET Core 2.2

Build

dotnet build src/Ztm.sln

Start Required Services

You need to install Docker Compose first then run:

docker-compose up -d

Migrate Database Schemas

Change directory to src/Ztm.Data.Entity.Postgres then run:

ZTM_MAIN_DATABASE="Host=127.0.0.1;Database=postgres;Username=postgres" dotnet ef database update

Start Zcoin Daemon

Grab latest stable Zcoin binary from here, extract or install it, then start Zcoin daemon:

./zcoind -testnet -printtoconsole -rpcuser=zcoin -rpcpassword=zcoin -zmqpubhashblock=tcp://127.0.0.1:28332

Start Web API

dotnet run -p src/Ztm.WebApi