Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrianmcli/zenith
🌌 A better API wallet for ZenCash
https://github.com/adrianmcli/zenith
cryptocurrency wallet zencash
Last synced: 18 days ago
JSON representation
🌌 A better API wallet for ZenCash
- Host: GitHub
- URL: https://github.com/adrianmcli/zenith
- Owner: adrianmcli
- Created: 2017-11-22T22:01:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T17:51:43.000Z (about 7 years ago)
- Last Synced: 2024-10-30T12:03:16.070Z (2 months ago)
- Topics: cryptocurrency, wallet, zencash
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Zenith
A better API wallet for ZenCash
---
![screenshot](https://user-images.githubusercontent.com/943555/34443683-c48ee636-ec96-11e7-911f-570993a300bc.png)
## Installation
```bash
npm install
```## Start
Serve pages to localhost:3000
```bash
yarn dev
```Code is in `SendZen.js`
## Reproduction steps
1. Unlock wallet in first textbox using the secret passphrase.
2. Select the first address for the dropdown (duplicate address should appear right above it if selected properly)
ztpt...yfmh - should have 60 ZEN3. Select any of the other addresses in the list below as the recipient
4. Amount: 5, Fee: 0.000001
## Variable dump from this flow
```
cumulative history:
[{"txid":"28f3...2d45","vout":0,"scriptPubKey":"76a9...02b4","satoshis":1000000000,"cumSatoshis":1000000000}]recipients:
[{"address":"ztfp...fBc7","satoshis":500000000},{"address":"ztpt...yfmh","satoshis":499999900}]private key:
txObj (pre-sign):
{"locktime":0,"version":1,"ins":[{"output":{"hash":"28f3...2d45","vout":0},"script":"","prevScriptPubKey":"76a9...02b4","sequence":"ffffffff"}],"outs":[{"script":"76a9...02b4","satoshis":500000000},{"script":"76a9...02b4","satoshis":499999900}]}txObj (post-sign):
{"locktime":0,"version":1,"ins":[{"output":{"hash":"28f3...2d45","vout":0},"script":"4730...8b86","prevScriptPubKey":"76a9...02b4","sequence":"ffffffff"}],"outs":[{"script":"76a9...02b4","satoshis":500000000},{"script":"76a9...02b4","satoshis":499999900}]}txHexString:
0100...0000
```