Private swaps for Secret Network using a private entropy pool & differential privacy.

Overview

WIP

SecretSwap: Anon Edition

Private swaps for Secret Network! Uses private entropy pool for differential privacy when reporting pools sizes.

  • Swap amounts are private in the range of +-1% of the real amounts.
  • Swap recipient is private.
  • Higer fees, higher returns for LPs.
  • Price discovery in the range of +-1% of the real price.

TODOs:

  • Provide & Withdraw
  • Figure out LP tokens (NFTs for privacy or SNIP20s for simplicity?)
You might also like...
A multi-protocol network relay

A multi-protocol network relay

A Rust library for parsing the SOME/IP network protocol (without payload interpretation).

someip_parse A Rust library for parsing the SOME/IP network protocol (without payload interpretation). Usage Add the following to your Cargo.toml: [de

Computational Component of Polkadot Network
Computational Component of Polkadot Network

Gear is a new Polkadot/Kusama parachain and most advanced L2 smart-contract engine allowing anyone to launch any dApp for networks with untrusted code.

Fullstack development framework for UTXO-based dapps on Nervos Network

Trampoline-rs The framework for building powerful dApps on the number one UTXO chain, Nervos Network CKB. This is an early-stage, currently very incom

Official Implementation of Findora Network.

Findora Platform Wiki Contribution Guide Licensing The primary license for Platform is the Business Source License 1.1 (BUSL-1.1), see LICENSE. Except

Simple in-network file transfer with barely any overhead.

fftp fftp is the "Fast File Transport Protocol". It transfers files quickly between computers on a network with low overhead. Motivation FTP uses two

netavark: A container network stack

netavark: A container network stack Netavark is a rust based network stack for containers. It is being designed to work with Podman but is also applic

A cross-platform, user-space WireGuard port-forwarder that requires no system network configurations.

Cross-platform, user-space WireGuard port-forwarder that requires no system network configurations.

An implementation of the CESS network supported by CESS LAB.
An implementation of the CESS network supported by CESS LAB.

--------- 🌌 ---------An infrastructure of decentralized cloud data network built with Substrate-------- 🌌 -------- ---------------- 🌌 -------------

Comments
  • Bump generic-array from 0.12.3 to 0.12.4

    Bump generic-array from 0.12.3 to 0.12.4

    Bumps generic-array from 0.12.3 to 0.12.4.

    Changelog

    Sourced from generic-array's changelog.

    • 0.12.4

      • Fix unsoundness in the arr! macro.
    • 0.12.0

      • Allow trailing commas in arr! macro.
      • BREAKING: Serialize GenericArray using serde tuples, instead of variable-length sequences. This may not be compatible with old serialized data.
    • 0.11.0

      • BREAKING Redesign GenericSequence with an emphasis on use in generic type parameters.
      • Add MappedGenericSequence and FunctionalSequence
        • Implements optimized map, zip and fold for GenericArray, &GenericArray and &mut GenericArray
      • BREAKING Remove map_ref, zip_ref and map_slice
        • map_slice is now equivalent to GenericArray::from_iter(slice.iter().map(...))
    • 0.10.0

      • Add GenericSequence, Lengthen, Shorten, Split and Concat traits.
      • Redefine transmute to avert errors.
    • 0.9.0

      • Rewrite construction methods to be well-defined in panic situations, correctly dropping elements.
      • NoDrop crate replaced by ManuallyDrop as it became stable in Rust core.
      • Add optimized map/map_ref and zip/zip_ref methods to GenericArray
    • 0.8.0

      • Implement AsRef, AsMut, Borrow, BorrowMut, Hash for GenericArray
      • Update serde to 1.0
      • Update typenum
      • Make macro arr! non-cloning
      • Implement From<[T; N]> up to N=32
      • Fix #45
    • 0.7.0

      • Upgrade serde to 0.9
      • Make serde with no_std
      • Implement PartialOrd/Ord for GenericArray
    • 0.6.0

      • Fixed #30
      • Implement Default for GenericArray
      • Implement LowerHex and UpperHex for GenericArray<u8, N>
      • Use precision formatting field in hex representation
      • Add as_slice, as_mut_slice
      • Remove GenericArray::new in favor of Default trait
      • Add from_slice and from_mut_slice
      • no_std and core for crate.
    • 0.5.0

      • Update serde
      • remove no_std feature, fixed #19
    • 0.4.0

      • Re-export typenum
    • 0.3.0

      • Implement IntoIter for GenericArray
      • Add map method
      • Add optional serde (de)serialization support feature.
    • < 0.3.0

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Owner
SCRT Labs
Solving for privacy
SCRT Labs
MASQ Network 121 Dec 20, 2022
A Curve-like AMM for Secret Network

A Curve-like AMM for Secret Network. Supports a varibale number of tokens with the same underlying value.

Enigma 16 Dec 11, 2022
A private network system that uses WireGuard under the hood.

innernet A private network system that uses WireGuard under the hood. See the announcement blog post for a longer-winded explanation. innernet is simi

Tonari, Inc 4.1k Dec 29, 2022
First iteration of gluing our modules together into a PoA private network

First iteration of gluing our modules together into a PoA private network

null 7 Oct 29, 2022
Acts as an IRC server and a nostr client. Connect with your IRC client using your nostr private key as the password.

nostr-irc Acts as an IRC server and a nostr client. Connect with your IRC client using your nostr private key as the password. Experimental code, use

null 11 Dec 26, 2022
Docker containers on a synthetic network. Run applications in a context that lets you manipulate their network conditions.

Synthetic Network Docker containers on a synthetic network. Run applications in a context that lets you manipulate their network conditions. Dependenc

Daily 58 Dec 15, 2022
An End-to-End Privacy Computing Protocol on Layer 2

Eigen Network Eigen Network is an end-to-end privacy computation network for a better digital economy based on hybrid privacy computation protocols an

Eigen Lab 24 Oct 13, 2022
Cloud Native high performance security and privacy SQL proxy.

Fern proxy With the advent of Cloud Native applications, architecture patterns evolved and emerged to take advantage of cloud computing, and build mor

Fern 12 Nov 7, 2022
Grow Rust is a Growtopia Private Server made in Rust

Grow Rust is a Growtopia Private Server made in Rust

null 14 Dec 7, 2022
Network simulation in Rust

netsim - A Rust library for network simulation and testing (currently linux-only). netsim is a crate for simulating networks for the sake of testing n

Andrew Cann 115 Dec 15, 2022