Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (10 loc) · 604 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 604 Bytes

Mantle API

Mantle API repository

Setup

Install dependencies with npm install

An instance of the default server can be run with npm start; It listens on port 3000 by default and all routes are prefixed by /api.

Alternatively it can be used as a dependency in other projects; See Usage.md

Tests

To run the api tests:

  • ipfs daemon or if you'd like to use parity-solo then run: docker run -p 5001:5001 --mount source=ipfs-volume,destination=/data/ipfs/blocks appliedblockchain/ipfs-solo:latest
  • npm run test