Comments (3)
Hey, I hadn't thought about hooking a thermal printer up, but it certainly could be done. I'd say edit the newTransaction method to include some printing function, using the amount and address as arguments.
As for the balance, I hadn't thought about that, either. Would this be the balance of all the transaction addresses or the balance of the forwarding address or perhaps a total for that day? What would you think would be a good method of accessing this from a numpad?
from btcpos.
I have thought about the printer, and I think that a receipt should be printed every time a transaction is made, after the payment approved screen for the merchants record. If the customer wants one, the merchant could press plus once for each extra copy, then press enter when done to return to the waiting screen.
For checking balance, I think that the balance should be the total balance of the single address that all of the merchant's bitcoins are deposited into (maybe requires manual config? I am unfamiliar with blockchain Api). To access it, maybe press the / key at the waiting screen to show the balance, and enter to return to the waiting screen?
from btcpos.
Sorry for lack of post, have been busy will push a modified version soon, had any1 had any luck with displaying the balance? Also, in case of error, would it not be safer to use a config file for blockchain credentials?
from btcpos.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btcpos.