-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
6,217 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { FC } from 'react'; | ||
import '../style/Guide.css'; | ||
|
||
export const Guide: FC = () => { | ||
return ( | ||
<div className="guide-container"> | ||
<div className="guide-content"> | ||
<h1 className="guide-title">Getting Started with Fall Protocol</h1> | ||
|
||
<section className="guide-section"> | ||
<h2>Prerequisites</h2> | ||
<div className="guide-step"> | ||
<h3>1. Get Devnet SOL</h3> | ||
<p>Request Devnet SOL from the <a href="https://faucet.solana.com/" target="_blank" rel="noopener noreferrer">Solana Faucet</a></p> | ||
</div> | ||
|
||
<div className="guide-step"> | ||
<h3>2. Get Test USDT</h3> | ||
<p>Obtain test USDT tokens from the <a href="https://spl-token-faucet.com/?token-name=USDT" target="_blank" rel="noopener noreferrer">SPL Token Faucet</a></p> | ||
</div> | ||
</section> | ||
|
||
<section className="guide-section"> | ||
<h2>Setup Instructions</h2> | ||
<div className="guide-step"> | ||
<h3>Convert SOL to WSOL</h3> | ||
<div className="code-block"> | ||
<code>spl-token wrap 1</code> | ||
<button className="copy-button" onClick={() => navigator.clipboard.writeText('spl-token wrap 1')}> | ||
Copy | ||
</button> | ||
</div> | ||
<p className="note">Note: This requires spl-token and solana-cli. Visit the <a href="https://solana.com/docs/intro/installation" target="_blank" rel="noopener noreferrer">Solana Docs</a> for installation guide.</p> | ||
</div> | ||
</section> | ||
|
||
<section className="guide-section"> | ||
<h2>Using the Protocol</h2> | ||
<div className="guide-step"> | ||
<h3>1. Connect Your Wallet</h3> | ||
<p>Use the "Connect Wallet" button in the top right corner</p> | ||
</div> | ||
<div className="guide-step"> | ||
<h3>2. Add Liquidity</h3> | ||
<p>Deposit your WSOL and USDT into the liquidity pool to start earning fees</p> | ||
</div> | ||
<div className="guide-step"> | ||
<h3>3. Start Trading</h3> | ||
<p>Once you have funds in the pool, you can begin trading on the platform</p> | ||
</div> | ||
<div className="guide-step"> | ||
<h3>4. Become a Lender</h3> | ||
<p>Visit the Lend page to lend out your meme tokens and earn yields. This is a great way to generate passive income from your meme token holdings.</p> | ||
</div> | ||
<div className="guide-step"> | ||
<h3>5. Become a Borrower</h3> | ||
<p>Head to the Borrow page where you can:</p> | ||
<ul className="feature-list"> | ||
<li>Deposit stablecoins as collateral</li> | ||
<li>Borrow meme tokens you're interested in</li> | ||
<li>Implement short-selling strategies by selling borrowed tokens when prices are high</li> | ||
<li>Buy back tokens at lower prices to profit from price decreases</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.