Skip to content
@Rugsafe

Rugsafe

A Multichain DeFi protocol for recovering from & defending against rug pulls

RugSafe Protocol

RugSafe Logo

RugSafe is a multichain protocol designed to transform the DeFi landscape by addressing rug-pull risks and introducing innovative financial instruments. Built on the Cosmos SDK, the RugSafe blockchain enables secure, decentralized recovery mechanisms, dynamic intents, and advanced asset management capabilities.

Protocol Overview

The RugSafe blockchain integrates recovery mechanisms and financial instruments to empower DeFi users:

  1. Vault Mechanism: Secure deposits of rugged tokens and issuance of anti-coins, inversely pegged to token value.
  2. Will Module: Automates asset actions such as transfers, claims, and contract calls based on defined will intents.
  3. IBC Integration: Supports cross-chain communication and asset interoperability.

Key Features

Will Module

  • Dynamic Automation: Define will-based actions such as scheduled transfers, claims, or contract executions.
  • Secure Execution: Enforces permissions and ensures compliance with user-defined access controls.
  • Customizable Conditions: Automate actions based on custom conditions

Rug Detection Mechanisms

  • Liquidity Monitoring: Detects sudden liquidity shifts indicative of rug-pull risks.
  • Proactive Interventions: Executes protective actions like freezing or front-running suspicious transactions.
  • Mitigation Systems: Enables automated user intents for responding to risky scenarios.

IBC and Interoperability

  • Cross-Chain Communication: Supports secure asset transfers and interactions with other Cosmos SDK chains.
  • Interchain Intents: Automate asset management across multiple chains using IBC.

Privacy Features

The RugSafe protocol integrates advanced cryptographic techniques to ensure the confidentiality and integrity of claims processing. The Will Module leverages three primary methods for securing claims:

Schnorr Signatures

  • Overview: Schnorr signatures provide a robust mechanism for validating claims by ensuring that only authorized entities can sign and submit claims.
  • Benefits:
    • Lightweight and efficient for validation.
    • Offers provable security under the discrete logarithm assumption.
  • Implementation:
    • Uses the edwards25519 curve for cryptographic operations.
    • Verifies claims by reconstructing the signature using the public key, signature components, and the hashed message.

Pedersen Commitments

  • Overview: Pedersen commitments allow users to securely commit to a value while keeping it hidden, enabling zero-knowledge verification.
  • Benefits:
    • Perfectly hiding and computationally binding properties.
    • Protects the confidentiality of sensitive data during claims.
  • Implementation:
    • Claims are validated by checking that the sum of commitments matches a target commitment stored in the will.
    • Utilizes the ristretto curve for efficient point operations and serialization.

zkSNARKs (Zero-Knowledge Succinct Non-Interactive Arguments of Knowledge)

  • Overview: zkSNARKs provide a way to prove the validity of a claim without revealing any underlying information.
  • Benefits:
    • Enables full privacy-preserving claims.
    • Compact proofs with fast verification times.
  • Implementation:
    • Allows claimants to generate and submit proofs based on predefined zkSNARK circuits.
    • Public inputs (if any) are securely provided to the chain for verification without compromising privacy.

Unified Approach

  • Claims processing is designed to support multiple cryptographic schemes for flexibility and enhanced security.
  • The protocol automatically selects the appropriate mechanism based on the type of claim and its associated conditions.
  • All cryptographic operations are performed on-chain to maintain trustlessness and decentralization.

Note: These privacy-preserving methods are key components of RugSafe's commitment to secure and confidential DeFi recovery mechanisms.

Contributing

We welcome contributions to RugSafe! Join our community and help shape the future of DeFi:

License

RugSafe is released under the GPL License.


Note: This repository is under active development and may undergo significant changes. For a detailed understanding of RugSafe, refer to our white paper.

Pinned Loading

  1. paper paper Public

    The Black Paper for Rugsafe

    TeX

  2. rugsafe-docs rugsafe-docs Public

    Documentation for the Rugsafe Protocol

    CSS

  3. dapp dapp Public

    Decentralized Application (dApp) for the Rugsafe protocol

    TypeScript

  4. rugsafe-solana rugsafe-solana Public

    Rugsafe is a multichain DeFi protocol for recovering from & defending against rug pulls

    Rust

  5. core core Public

    Rugsafe is a multichain DeFi protocol for recovering from & defending against rug pulls

    Go

Repositories

Showing 10 of 28 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…