Socket
Book a DemoInstallSign in
Socket

@atpar/ap-helper

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atpar/ap-helper

Helper service for working with ap.js.

0.1.0-alpha.25-demo
latest
Source
npmnpm
Version published
Weekly downloads
27
92.86%
Maintainers
4
Weekly downloads
 
Created
Source

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 /orders Post an unfilled or filled order to the orderbook

    GET /orders Retrieve unfilled orders from the orderbook

  • Resources

    GET /terms Retrieve ACTUS test terms

  • Asset

    POST /asset/progress Progress the state of an asset given its assetId and a timestamp

  • Tokenization

    POST /tokenization/updateClaimsToken Update funds received of a ClaimsToken contract

  • Faucet

    POST /faucet/ether Request Ether for an address

    POST /faucet/sampleToken Request ERC20 sample tokens for an address

    GET /faucet/ether Retrieve the address of the ERC20 sample token

Usage

Quick start:

yarn add @atpar/ap-helper

node ./node_modules/@atpar/ap-helper

To clear the orderbook and channel message database:

echo "" > ./node_modules/@atpar/ap-helper/Orderbook-Database.json

Development

Requirements

  • NPM (6.2.0)

Run

  • install dependencies
# ap-monorepo/ap-helper/
yarn install
yarn build
  • start ap-helper
yarn start

FAQs

Package last updated on 27 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.