Git Product home page Git Product logo

faucet.vulpem.com's Introduction

faucet.vulpem.com

faucet.vulpem.com's People

Contributors

bkiac avatar janaka-steph avatar tiero avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

bkiac xdex-sa

faucet.vulpem.com's Issues

Network detection from Marina

The site can't detect testnet on Marina, unless we reload the site after connecting.

Screen.Recording.2022-10-13.at.17.17.06.mov

Allow user to request testnet assets after connecting with Marina

Flow

  1. Connect with Marina (ie. window.marina.enable) or via svelte-marina-button
  2. Pre-fill an address via window.marina.getNextAddress
  3. Allow user to select from a list of supported assets (L-BTC, USDT, LCAD)
  4. Submit the request to the Faucet endpoint with the to and asset selected

API

Request

{
    "to": "vjTvv2jgmHq4AX8Hrqqzhr4uoNQm957YC14fjKY77yacxAvK6PfrNNibz4h34GuXCTaRbMni3fx9HrnS",
    "asset": "144c654344aa716d6f3abcc1ca90e5641e4e2a7f633bc09fe3baf64585819a49"
}

Response

{
    "txid": "8bc0b87d30a74c104d3b5af29220312128ade71b0b8c65e7730af864a29083a6"
}

rate limit

We can do one of or a combination of

  • based on signed message
  • based on IP Address
  • "social" login ie. write a tweet with a challenge/message

To game the system the user must then change mnemonic every time, change IP and create a new twitter account

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.