|
29 | 29 |
|
30 | 30 | If you already have an XRP account with 35 XRP or more, use the [Livenet](#live-network) instructions.
|
31 | 31 | Otherwise, you can still follow the [Testnet](#test-network) instructions. For development in an offline
|
32 |
| -environment, you can run your own [Local Testnet](#local-test-network). |
| 32 | +environment, you can run your own [Local Testnet](#local-test-network). |
33 | 33 |
|
34 | 34 | ### Test Network
|
35 | 35 |
|
@@ -94,20 +94,20 @@ port will only be able to pay other applications on the same machine.
|
94 | 94 | ### Cloud Test Network
|
95 | 95 |
|
96 | 96 | A publically accessible test network can be created by deploying moneyd to Heroku. Use the button below to deploy
|
97 |
| -an instance of moneyd running in local mode. |
| 97 | +an instance of moneyd running in local mode. Prior to completing the app deployment, Heroku will ask for two required fields: Setting the asset code (i.e, XRP, USD) and setting the asset scale. |
98 | 98 |
|
99 | 99 | [](https://heroku.com/deploy)
|
100 | 100 |
|
101 | 101 | Once deployed, Heroku will provide you with a url to connect to your cloud moneyd which has the form heroku-app-name.herokuapp.com
|
102 | 102 |
|
103 |
| -A local moneyd instance can then be set up to connect to the Heroku instance using the following commands: |
| 103 | +A local moneyd instance can then be set up to connect to the Heroku instance using the following commands: |
104 | 104 |
|
105 | 105 | ```sh
|
106 | 106 | moneyd --testnet btp:configure
|
107 | 107 | ```
|
108 | 108 |
|
109 | 109 | Follow the command-line prompts to configure the connection. When prompted for the `BTP host of parent connector`, enter the url provided by Heroku (heroku-app-name.herokuapp.com without the https://).
|
110 |
| -Once the uplink has been configured, run the local moneyd instance |
| 110 | +Once the uplink has been configured, run the local moneyd instance |
111 | 111 |
|
112 | 112 | ```sh
|
113 | 113 | moneyd --testnet btp:start
|
@@ -236,6 +236,8 @@ variables](https://en.wikipedia.org/wiki/Environment_variable#Unix).
|
236 | 236 | - `MONEYD_ASSET_CODE` - A string specifying the ASSET CODE that moneyd is configured with when running in LOCAL mode. Default: `XRP`.
|
237 | 237 | - `MONEYD_ASSET_SCALE` - A number specifying the ASSET SCALE that moneyd is configured with when running in LOCAL mode. Default: `9`.
|
238 | 238 | - `MONEYD_ILP_ADDRESS` - A string specifying the ilp address that moneyd is configured with when running in LOCAL mode. Default: `private.moneyd`.
|
| 239 | +- `SET_ASSET_CODE` - A string specifying which Moneyd asset code to use |
| 240 | +- `SET_ASSET_SCALE` - A number specifying the Moneyd asset scale to be configured with |
239 | 241 | ### Remote Deploy
|
240 | 242 |
|
241 | 243 | If you did the previous step on your remote server, then you don't need to run any
|
|
0 commit comments