Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mackenzie-OO7 committed Nov 17, 2024
1 parent a7be4b4 commit bed16f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/build/guides/conventions/extending-wasm-ttl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ This guide will cover three ways to extend a contract's TTL:

- Client Extension: Extending the TTL from an external client using Javascript.
- Use Case: When you need to manage contract TTLs through an external application or automated system.
- Process: - Get the contract's footprint - Set a reasonable resource fee (perhaps start at 10,000 stroops as this is a costly operation) - Set Soroban data as read-only - Set the desired ledger TTL to expire the contract - Create an operation `StellarSdk.Operation.extendFootprintTtl` :::note A resource fee and base fee are both charged in this operation. :::
- Process:
- Get the contract's footprint
- Set a reasonable resource fee (perhaps start at 10,000 stroops as this is a costly operation)
- Set Soroban data as read-only
- Set the desired ledger TTL to expire the contract
- Create an operation `StellarSdk.Operation.extendFootprintTtl` :::note A resource fee and base fee are both charged in this operation. :::

<Tabs groupId="language" defaultValue="rust">
<TabItem value="rust" label="Rust">
Expand Down

0 comments on commit bed16f1

Please sign in to comment.