Git Product home page Git Product logo

nimiq-multi-cashlink's Introduction

Metrics

nimiq-multi-cashlink's People

Contributors

albermonte avatar onmax avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nimiq-multi-cashlink's Issues

More than 250? Cashlinks should use Fast fee

If the network has a lot of txs a 138 lunas (Standard) fee could be not enough for all to be mined, that's why creating 500 Cashlinks might fail resulting on a lot of them not funded.

The minimun with a Standard fee could be 250?

waitForFunds not always returning

In mainnet, block times can be 2-5 minutes and that probably breaks the waitForFunds fuction.

Balance is correctly fetched and can be checked on every new head update

Check preconditions in the form

Something like this
image
shouldn't be possible.

It should check parameter before giving the option to the user to create a new multicashlink???

Or do we check inputs after user clicked ?

Export to QR

Export each cashlink as a QR and let user download a pdf (or similar) with all the cashlinks ready to be printed

Auto refill Cashlinks

Based on HTLC contracts cashlinks could be refilled.

Create the new cashlink wallet, with that wallet create the HTLC contract with a timeout of x blocks (blocks are calculated based on ~1 block per minute, ~1440 blocks per day). When the timeouts ends the funds return to the cashlink`s wallet thus, it's refilled.

For example:
https://nimiq.watch/#1611517
12/5/2021 12:49:44
For 9 days we should have 12960 minutes =~ 12960 blocks

 Substracting 12960 blocks we got https://nimiq.watch/#1597117
 2/5/2021 12:04:57
 10 days and 1 hour of difference, pretty good

 For 30 days we have 43200 blocks -> https://nimiq.watch/#1568317
 12/4/2021 9:31:21
 30 days and 3 hours

1 hour error for every 10 days

Icons on history screen

Would be nice to have the icon of the person who redeemed the cashlink shown on history page when detected as 'claimed

CSS bug

Needs to be placed correctly:
image

Info for new users

Display a modal showing what's the tool for and how it works but only the first time

Add themes

  • Let user chose theme for cashlink
  • Generate images based on those cashlinks (cards)
  • Share those images on social media

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.