Zcash 'Point Of Sale' prototype (FUNDED!)

Great! Thanks! :grinning:

Should have it ready in the next few days, I’ll PM a download link.

2 Likes

Going to call it ‘Zatsuma’ :slight_smile:

Its now version 0.0.6-rc1, which to me means its ready for testing by others. I’ll be writing install instructions this evening & packaging it up.

Assuming no horrible bugs are found this’ll be the initial version and I’ll put it on github.

6 Likes

Just sent you a download link :slight_smile:

2 Likes

So far so good, @garethtdavies has installed it & seems to be working (yaaay!)

I’m sure there are some loose ends to sort out but its getting close now.

5 Likes

I love Zatsuma!

Have you thought about branding at all yet? Since satsumas are cute lil oranges, maybe imagery and a color palette along those lines?

Zebra-striped oranges :thinking:

1 Like

Ha! Now there’s an idea :slight_smile:

I think I’m going to leave it as is. I quite like the dog on the front page although I do have a stripey orange cat but am saving that for the next project.

Zatsuma works in Spanish quite nicely, ‘sumar’ is the verb ‘to add’ and Zat is kinda obvious.

1 Like

I do indeed have it working :smile: - well the Zcash part anyway as Bitcoin syncing is very slow and ongoing https://garethtdavies.duckdns.org/. I ran it on testnet which had the advantage of also testing with the new mobile shielded Guarda app (albeit unfortunately they don’t support Zcash payment URLs).

I’ll send over my final thoughts on the install process this evening so I don’t hold anything up. I would say that it is quite an involved setup process, well documented, but there is a lot going up with multiple node implementations. I’m wondering how this could be made simpler in the future. This would run nicely on say a Raspberry Pi style device that could be dedicated to its use.

2 Likes

An install script for all the libraries & modules would make life easier, I’ll see what I can come up with.

2 Likes

Yes ! I have an unexpected ‘whole free day’…so lets get this puppy on GitHub :slight_smile:

It’ll be the initial version with a few changes following garetht’s testing

Edit :-
Someone who shall be nameless (Rosi) has my USB stick in her car with music on it :wink:
When she gets back I’ll do a test install on a fresh Ubuntu & post the files.

Edit :-
Its done, its on github :slight_smile:

7 Likes

Here’s the repo! GitHub - ChileBob/Zatsuma: Javascript Point-Of-Sale app for Zcash, Ycash, Bitcoin (+LN)

4 Likes

…and, its finished! I just updated the repo :slight_smile:

Changes include :-

  • general tidy up of code
  • shop daemons & config files moved to sensible places
  • produced a user guide
  • provided an installation script

The install script does almost everything, prompts for basic config details then fetches & sets up the nodes. There’s also a manual installation guide for those that would rather do it one step at a time.

Although this is the end of the project it is’nt really - there are always things that can be improved or added so feel free to let me know, either by forum PM or make a github issue.

5 Likes

Installation script! Zatsuma/INSTALL.md at master · ChileBob/Zatsuma · GitHub

User guide! Zatsuma/USERGUIDE.md at master · ChileBob/Zatsuma · GitHub

1 Like

Thats awesome! Im gonna try to make it work in Win10 this wknd! Ill letya know!

What exactly is it asking for when selecting nodes?

1 Like

I have a node running 24/7 for months on an odroid c2. I had to add swap space. I think I have 4gb in total now. Are the 5gb advertised really necessary ?

1 Like

I was looking through the setup and it checks for an existing node so is it just asking a name for the node and not like the address or something like that?

It looks like it

1 Like

Sorry - was offline while driving through the wilderness.

Its asking for the username that will be running the node.

For safety I have the habit of seperating nodes on the same machine by installing them on different user accounts. That way they can’t see each others configs & wallets etc… call me paranoid, or maybe just careful.

You can even run the nodes on different machines if you like, although setup doesnt do that automatically.

2 Likes

I would say yes, think you hit the limit when the node tries to digest a full block. Gareth & Shawn are our resident experts on that.

Okay so the win10 ver going to be a little tricky, WSL doesn’t support runtime levels by default :no_mouth:
but I might be able to trick it into thinking it has one by just defining it invoke-rc.d: could not determine current runlevel · Issue #1761 · microsoft/WSL · GitHub
Might need to disable my firewall and setup the router for proper forwarding and fully sync the node still
But its ok, I need some bash!

1 Like

You might have more luck running under native windows as not much is platform specific - its Perl, MySql & Apache.

The zatsuma daemons need the users home dir & have to find their config files, so tweak the pathnames to be MS friendly. Tweak shopd & shopd-zec, you’ll see that at the beginning, tweak the config_load sub & that should be it.

Perl should be ok, the modules you need to load are in the install guide, MySql shouldn’t need anything special.

The tricky part will be the webserver setup, especially https & certs, but you should be able to get it running on localhost.

Edit: Another gotcha - it relies on cron to collect price data & refresh the dynamic dns, so you’ll need an equivalent.

Edit: Heads up, it was cold outside so I spent the day on Zatsuma. Few things to finish up & needs testing etc, update should be ready by the end of the week.

2 Likes

Some more changes, these are in the ‘chilebob’ branch as I’m still testing - few bugs left to squish so obviously not quite ready yet.

  • moved all the daemon/node control to systemd, which is the way things should be done
  • added Ycash (shielded & transparent)
  • moved all debug output to log files
  • new setup script (current work in progress)

Here’s a screenshot of the updated checkout -

Edit: Decided to use the extra space to show exchange rates instead, updated the graphic.

4 Likes