RugSafe is a cutting-edge multichain protocol designed to address and mitigate rug-pull risks in decentralized finance (DeFi). This Next.js DApp provides an intuitive interface for users to interact with RugSafe's features, including vaults, DEX, perpetuals, liquidity pools, and rug detector intents.
| Status Type | Status |
|---|---|
| Development Build | |
| Issues | |
| Last Commit | |
| License |
The RugSafe DApp integrates recovery mechanisms and financial instruments to empower DeFi users through:
- Vaults: Securely deposit rugged tokens to receive anti-coins.
- Perpetual Contracts: Advanced trading instruments with collateralized leverage.
- Decentralized Exchange (DEX): Swap rugged tokens, anti-coins, and stable assets.
- Liquidity Pools: Add/remove liquidity and view pool statistics.
- Rug Detector Intents: Configure monitoring bots for proactive asset protection.
- Token Recovery: Deposit rugged tokens to mint anti-coins.
- Anti-Coins: Inversely pegged to rugged tokens for stability.
- Secure Tracking: Manage vault assets efficiently.
- Leverage Trading: Initiate long or short positions.
- Collateral Management: Add/remove collateral dynamically.
- Liquidation Mechanisms: Protect under-collateralized positions.
- Trading Infrastructure: Swap assets with ease.
- Market Stability: Monitor prices for anti-coin pegging.
- Liquidity Support: Incentivize providers with rewards.
- Pool Statistics: View detailed data about liquidity pools.
- Add Liquidity: Stake assets into pools for rewards.
- Remove Liquidity: Manage existing positions seamlessly.
- Intent Configuration: Set automated intents for asset protection.
- Proactive Monitoring: Utilize bots for liquidity and risk assessment.
- Custom Triggers: Define actions based on your preferences.
This repository contains the Next.js implementation of RugSafe's DApp. It features:
- Vault Interaction: Secure rugged tokens and mint anti-coins.
- DEX Interaction: Swap assets directly within the DApp.
- Perpetual Trading: Manage and trade leveraged positions.
- Liquidity Management: Add or remove liquidity from pools.
- Rug Detection: Set and manage intents for automated monitoring.
Ensure you have the following tools installed:
- Node.js: Download Node.js
- Yarn: Install Yarn
- Docker: (Optional) for running backend services locally.
Clone the repository: ```bash git clone https://github.com/rugsafe/nextjs-dapp.git cd nextjs-dapp ```
Install dependencies: ```bash yarn install ```
Run the development server: ```bash yarn dev ```
Open http://localhost:3000 in your browser to view the application.
Build the application: ```bash yarn build ```
Start the production server: ```bash yarn start ```
We welcome contributions to RugSafe! Join our community and help shape the future of DeFi:
- Discord: Join our community
- Telegram: Join the chat
RugSafe dApp is released under the MIT License.
Note: This repository is under active development and may undergo significant changes. For a detailed understanding of RugSafe, refer to our white paper.
