$ npm install -g yarn$ yarn install$ yarn sls invoke local --function summary --ethereum-network=ropsten$ yarn sls invoke local --function assets --ethereum-network=ropsten$ yarn sls invoke local --function tickers --ethereum-network=ropsten$ yarn sls invoke local --function trades --ethereum-network=ropsten -d '{"pathParameters": {"pair": "0xc778417E063141139Fce010982780140Aa0cD5Ab_0xaD6D458402F60fD3Bd25163575031ACDce07538D"}}'
$ yarn sls invoke local --function trades --ethereum-network=ropsten -d '{"pathParameters": {"pair": "0xaD6D458402F60fD3Bd25163575031ACDce07538D_0xc778417E063141139Fce010982780140Aa0cD5Ab"}}'$ yarn sls invoke local --function orderbook --ethereum-network=ropsten -d '{"pathParameters": {"pair": "0xc778417E063141139Fce010982780140Aa0cD5Ab_0xaD6D458402F60fD3Bd25163575031ACDce07538D"}}'
$ yarn sls invoke local --function orderbook --ethereum-network=ropsten -d '{"pathParameters": {"pair": "0xaD6D458402F60fD3Bd25163575031ACDce07538D_0xc778417E063141139Fce010982780140Aa0cD5Ab"}}'The API uses the serverless framework and can easily be deployed to any AWS account,
via the yarn deploy command or yarn deploy:{ethereum-network}.
In order to configure your AWS account as a target, see the serverless docs.
Config variables are located within serverless.yml: custom.config.{ethereum-network}