Chainlink External Adapter for Dash Platform Data
Install dependencies:
yarn installNatively run the application (defaults to port 8080):
yarn startThis example request for createWallet method returns a Dash wallet:
curl -X POST -H "content-type:application/json" "http://localhost:8080/" --data '{ "id": 12345, "data": { "network": "testnet", "method": "createWallet" } }'Output:
{
  "jobRunID": 12345,
  "data": {
    "mnemonic": "blur arrest engage lyrics tent patch south wall sketch cloth security shock",
    "address": "yLndbTmXddQGPrTyjthS28Ro7vqtJmCNb2"
    },
  "statusCode": 200
}If you wish to use Docker to run the adapter, you can build the image by running the following command:
docker build -t chainlink-dash-adapter .Then run it with:
docker run -p 8080:8080 chainlink-dash-adapter