dappnetbby / dappnet-features

An open tracker for Dappnet's product work
9 stars 0 forks source link

Marketplace for RPC providers with privacy #5

Open liamzebedee opened 1 year ago

liamzebedee commented 1 year ago

How much would you pay for an Ethereum RPC node that isn't susceptible to logging your IP and censoring your transactions? Zero setup, no config. All part of Dappnet, seamless UX.

It's not even that we would run the nodes. It could be an open marketplace of RPC node providers, and Dappnet governance curates providers that are reputable - after all, it'd be brittle to just trust one company to run nodes!

discussion - https://twitter.com/liamzebedee/status/1600291762320596993

Problems this solves:

liamzebedee commented 1 year ago

An MVP spec for the marketplace:

pragma solidity ^0.8.0;

// A contract for buying/selling Ethereum RPC node services.
contract EthereumRPCServiceMarketplace {
    /*
    Data model:

    Subscription
    - id
    - owner
    - plan
    - 

    Plan
    - id
    - provider

    Provider
    - id
    - name
    - account
    */

    /*
    User flows:
    - user buys a subscription
    - user cancels a subscription
    - user changes a subscription
    - user gets a refund
    - provider changes a plan's price
    - provider shuts down a plan
    */

    /*
    A couple of types of plans:
    - superfluid money stream
        - USDC
        - DAI
        - ETH
        - EUR
        - AUD
    - staked collateral asset
        - AAVE (aToken)
        - Compound (cToken)
    */
}