Skip to content

adrianmcli/zenith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zenith


Night Sky

A better API wallet for ZenCash

zen cash API wallet done right


screenshot

Installation

npm install

Start

Serve pages to localhost:3000

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 ZEN

  3. 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: 
<redacted>

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

About

🌌 A better API wallet for ZenCash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •