-
Reporting tools for partner rev share
-
yarn
ornpm install
-
yarn build
ornpm run build
-
Rename
config.json.sample
toconfig.json
and enter relevant API keys -
If only interested in submitting your own exchange reporting plugin:
-
Come up with a prefix for your organization (eg ShapeShift = "SS", "BitRefill" = "BR"), and create a [prefix]Raw.json file in the
cache
folder and enter an empty object. -
In the
src
folder create a filemyOrganization.js
with the code to fetch transactions from your API and format transactions to match theStandardTx
type (can view incheckSwapService.js
file) -
In
reporter.js
import the transaction fetching procedure from yourmyOrganization.js
file and include near the top of themain
function. Also make sure you have your organization's transactions printed out withprintTxDataMap
in thereport
method (inreporter.js
). -
When in doubt, look at how other teams have implemented their reporting procedure. If you have any further questions please feel free to reach out to the Edge team at our
dev
Slack channel: https://edgesecure.slack.com/messages/C3LJWEXEK
forked from EdgeApp/edge-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
Transak/edge-reports
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Reporting tools for partner rev share
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%