Skip to content

Commit

Permalink
docs: added new backend environment variable (#3039)
Browse files Browse the repository at this point in the history
* Added new backend environment variable

Added MAX_OUTGOING_PAYMENT_RETRY_ATTEMPTS, default value, and description to the docs

* prettier

ran prettier
  • Loading branch information
brad-dow authored Oct 18, 2024
1 parent 66741c2 commit 6b971bf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,10 @@ Fill out the following fields to create a new wallet address:
| | Asset | Select an asset to associate with this wallet. |

:::note[Wallet address requirements]

- At least one asset has to be created prior to creating a new wallet address. Refer to [Create asset](#create-asset) for more information.
- Wallet address URLs are treated as case-insensitive, meaning that both lowercase and uppercase variations of the same address will be recognized as identical.
:::
:::

After completing this section, select **Create** to add the new wallet address.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ The secondary Happy Life Bank docker-compose file (`./happy-life-bank/docker-com

The following components are made available via the Local Playground:

<LargeImg
src='/img/localenv.png'
alt='Overview of components'
/>
<LargeImg src='/img/localenv.png' alt='Overview of components' />

#### Mock account servicing entity 1 - Cloud Nine Wallet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ export function loader({ request }: LoaderFunctionArgs) {
| `EXCHANGE_RATES_LIFETIME` | `backend` | The amount of time Rafiki caches exchange rates, in ms | Y |
| `SLIPPAGE` | `backend` | The variance allowed between a quote and the actual amount required when a payment is initiated | Y |

</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ import { CodeBlock } from '@interledger/docs-design-system'
Each payment account belonging to your users (e.g., customers) must have at least one associated wallet address for the account to be able to send and receive payments over Interledger and Open Payments. A wallet address serves as a publicly shareable standardized ID for a payment account.

:::note[Wallet address requirements]

- Your Rafiki instance must be set up for at least one asset before wallet addresses can be created as each wallet address must have an asset assigned to it.
- Wallet address URLs are treated as case-insensitive, meaning that both lowercase and uppercase variations of the same address will be recognized as identical.
:::
:::

## Create wallet addresses

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ The following is an enumeration of all of Rafiki's [webhook event](/integration/
| [`asset.liquidity_low`](/integration/requirements/webhook-events/#asset-liquidity-low) | Asset liquidity has dropped below defined threshold. |
| [`peer.liquidity_low`](/integration/requirements/webhook-events/#peer-liquidity-low) | Peer liquidity has dropped below defined threshold. |

</div>
</div>
1 change: 1 addition & 0 deletions packages/documentation/src/partials/backend-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { LinkOut } from '@interledger/docs-design-system'
| `INSTANCE_NAME` | | `undefined` | this Rafiki instance's name used to communicate for [auto-peering](/integration/playground/autopeering/) |
| `KEY_ID` | backend.key.id | `undefined` | this Rafiki instance's client key id |
| `LOG_LEVEL` | backend.logLevel | `info` | [Pino Log Level](https://getpino.io/#/docs/api?id=levels) |
| `MAX_OUTGOING_PAYMENT_RETRY_ATTEMPTS` | | `5` | Maximum number of retry attempts for an outgoing payment before it is considered failed |
| `NODE_ENV` | backend.nodeEnv | `development` | node environment, `development`, `test`, or `production` |
| `OPEN_PAYMENTS_PORT` | backend.port.openPayments | `3003` | port of the Open Payments resource server port |
| `OPEN_PAYMENTS_URL` | backend.serviceUrls.OPEN_PAYMENTS_URL | `undefined` | public endpoint of this Open Payments Resource Server |
Expand Down

0 comments on commit 6b971bf

Please sign in to comment.