albermonte / nimiq-multi-cashlink Goto Github PK
View Code? Open in Web Editor NEWCreate and manage multiple cashlinks on one site
Home Page: https://cashlinks.shortnim.me/
Create and manage multiple cashlinks on one site
Home Page: https://cashlinks.shortnim.me/
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?
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
Export each cashlink as a QR and let user download a pdf (or similar) with all the cashlinks ready to be printed
We could use Mopsus API to know if cashlink are funded when nodes don't want to share more info
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
Would be nice to have the icon of the person who redeemed the cashlink shown on history page when detected as 'claimed
I made cashlinks and now i have no clue for where my 500NIM cashlinks are
Display a modal showing what's the tool for and how it works but only the first time
The address used to fund the cashlinks won't be displayed on the Nimiq Wallet since we are using legacy wallets code, we have to replace that with something like this
More info on https://github.com/Eligioo/nimiq-hd-wallet/blob/master/index.js
Create .github/actions
and deploy everytime we merge to develop
Idk, a spinning wheel on each cashlink or something
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.