From e6239f902149a31192dcc3d3703a6413dc89d114 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 19 May 2020 18:14:41 -0600 Subject: [PATCH] Add rent stub doc --- docs/src/SUMMARY.md | 1 + docs/src/apps/rent.md | 1 + docs/src/integrations/exchange.md | 7 ++++--- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 docs/src/apps/rent.md diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 01edaaa01af395..afc4cf86817d51 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -24,6 +24,7 @@ * [Command-line Reference](cli/usage.md) * [Solana Clusters](clusters.md) * [Develop Applications](apps/README.md) + * [Accounts and Rent](apps/rent.md) * [Example: Web Wallet](apps/webwallet.md) * [Example: Tic-Tac-Toe](apps/tictactoe.md) * [Drones](apps/drones.md) diff --git a/docs/src/apps/rent.md b/docs/src/apps/rent.md new file mode 100644 index 00000000000000..aea797350fd474 --- /dev/null +++ b/docs/src/apps/rent.md @@ -0,0 +1 @@ +# Accounts and Rent diff --git a/docs/src/integrations/exchange.md b/docs/src/integrations/exchange.md index 0c0dc4ec9c8e5a..d990a74dbb25c5 100644 --- a/docs/src/integrations/exchange.md +++ b/docs/src/integrations/exchange.md @@ -72,9 +72,10 @@ generate a Solana keypair using any of our [wallet tools](../wallet-guide/cli.md We recommend using a unique deposit account for each of your users. -Solana accounts are charged rent on creation and once per epoch, but they can be -made rent-exempt if they contain 2-years worth of rent in SOL. In order to find -the minimum rent-exempt balance for your deposit accounts, query the +Solana accounts are charged [rent](../apps/rent.md) on creation and once per +epoch, but they can be made rent-exempt if they contain 2-years worth of rent in +SOL. In order to find the minimum rent-exempt balance for your deposit accounts, +query the [`getMinimumBalanceForRentExemption` endpoint](../apps/jsonrpc-api.md#getminimumbalanceforrentexemption): ```bash