You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
-`yarn build` or `npm run build`
7
7
- Rename `config.json.sample` to `config.json` and enter relevant API keys
8
8
- If only interested in submitting your own exchange reporting plugin:
9
-
- 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.
9
+
- 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 object with an empty `"txs": []` array.
10
10
- In the `src` folder create a file `myOrganization.js` with the code to fetch transactions from your API and format transactions to match the `StandardTx` type (can view in `checkSwapService.js` file)
11
11
- In `reporter.js` import the transaction fetching procedure from your `myOrganization.js` file and include near the top of the `main` function. Also make sure you have your organization's transactions printed out with `printTxDataMap` in the `report` method (in `reporter.js`).
12
12
- 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:
0 commit comments