Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

IOST External Adapter

How to use

  • Install dependencies npm install

  • Set up Environment variables

  • Optional: Run tests npm test

  • Run createRequest() in one of the following ways:

    • call it directly (by running node app.js).
    • use the handler() wrapper for AWS Lambda
    • use the gcpservice() wrapper for GCP
  • Use one of the available methods.

    • Set method name in data.method, along with method-specific parameters

To create a ZIP file to upload to AWS/GCP, run:

zip -r cl-ea.zip .

Environment variables

Variable Description Example
ACCOUNT_NAME Required Account name of IOST user. octalmage
PRIVATE_KEY Required Private key for IOST user 2a8f2e4e3b7e541
API_HOST Required IOST Node to use for API requests api.iost.io

Available methods

callAbi

Use callAbi to submit a transaction to a smart contract.

Request

Variable Type Description
contract String The ID of the contract
action String The name of the method to call
args String Stringified array of arguments for smart contract

Support

Got questions or feedback? Stop by our Telegram room!

License

MIT

About

Chainlink IOST Adapter

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.