@atpar/ap-helper v0.1.0-alpha.25-demo
AP-Helper
Helper service for working with ap.js.
Contains:
- orderbook-relayer
- ether and erc20 sample token faucet
- api for retrieving ACTUS test terms
- api for progress the state of an asset
- api for updating ClaimsToken contracts
API
Order
POST /ordersPost an unfilled or filled order to the orderbookGET /ordersRetrieve unfilled orders from the orderbookResources
GET /termsRetrieve ACTUS test termsAsset
POST /asset/progressProgress the state of an asset given its assetId and a timestampTokenization
POST /tokenization/updateClaimsTokenUpdate funds received of a ClaimsToken contractFaucet
POST /faucet/etherRequest Ether for an addressPOST /faucet/sampleTokenRequest ERC20 sample tokens for an addressGET /faucet/etherRetrieve the address of the ERC20 sample token
Usage
Quick start:
yarn add @atpar/ap-helper
node ./node_modules/@atpar/ap-helperTo clear the orderbook and channel message database:
echo "" > ./node_modules/@atpar/ap-helper/Orderbook-Database.jsonDevelopment
Requirements
- NPM (6.2.0)
Run
- install dependencies
# ap-monorepo/ap-helper/
yarn install
yarn build- start ap-helper
yarn start6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago