Skip to content

mayoreee/chainlink-dash-adapter

Repository files navigation

Chainlink Dash Adapter

Chainlink External Adapter for Dash Platform Data

Install

Install dependencies:

yarn install

Natively run the application (defaults to port 8080):

Run

yarn start

Call the external adapter service

This 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
}

Docker

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

About

Chainlink External Adapter for Dash Platform Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published