diff --git a/_code-samples/add-amm-lp/js/add-amm-lp.js b/_code-samples/add-amm-lp/js/add-amm-lp.js index 3443ec1239..515deef73f 100644 --- a/_code-samples/add-amm-lp/js/add-amm-lp.js +++ b/_code-samples/add-amm-lp/js/add-amm-lp.js @@ -182,4 +182,4 @@ await client.disconnect() } -main() \ No newline at end of file +main() diff --git a/_code-samples/add-amm-lp/js/package.json b/_code-samples/add-amm-lp/js/package.json index 5f2ffebf6a..e0e9b83e71 100644 --- a/_code-samples/add-amm-lp/js/package.json +++ b/_code-samples/add-amm-lp/js/package.json @@ -3,4 +3,3 @@ "xrpl": "^3.0.0" } } - \ No newline at end of file diff --git a/docs/tutorials/javascript/trade-on-ledger/earn-passive-income-as-a-liquidity-provider.md b/docs/tutorials/javascript/trade-on-ledger/earn-passive-income-as-a-liquidity-provider.md index bea3d0ff96..c2112b66c2 100644 --- a/docs/tutorials/javascript/trade-on-ledger/earn-passive-income-as-a-liquidity-provider.md +++ b/docs/tutorials/javascript/trade-on-ledger/earn-passive-income-as-a-liquidity-provider.md @@ -1,18 +1,13 @@ --- -html: earn-passive-income-as-a-liquidity-provider.html seo: description: Provide liquidity for an Automated Market Maker (AMM) and earn income from trading fees. -status: not_enabled labels: - Decentralized Exchange - Tokens - AMM -steps: ['Connect', 'Generate', 'Acquire tokens', 'Deposit to the AMM', 'Vote on fees', 'Withdraw from the AMM'] --- # Earn Passive Income as a Liquidity Provider -_(Requires the [AMM amendment][])_ - Providing liquidity for an [Automated Market Maker (AMM)](../../../concepts/tokens/decentralized-exchange/automated-market-makers.md) can be a great way to earn passive income. By depositing assets into an AMM pool, you'll earn a percentage of the trading fees generated. This tutorial shows how to deposit assets, vote on fees, and withdraw assets.