@@ -399,8 +399,88 @@ <h1>Digital Cash Wallet</h1>
399
399
</ th >
400
400
< th data-name ="need "> 0</ th >
401
401
</ tr >
402
+ < tr data-denom ="10000 ">
403
+ < th >
404
+ < small > < em > Collateral</ em > </ small >
405
+ </ th >
406
+ < th >
407
+ < input
408
+ name ="priority "
409
+ onkeyup ="App.syncCashDrawer(event) "
410
+ onchange ="App.syncCashDrawer(event) "
411
+ type ="number "
412
+ step ="1 "
413
+ min ="0 "
414
+ value ="0 "
415
+ />
416
+ </ th >
417
+ < th data-name ="have "> 0</ th >
418
+ < th >
419
+ < input
420
+ name ="want "
421
+ onkeyup ="App.syncCashDrawer(event) "
422
+ onchange ="App.syncCashDrawer(event) "
423
+ type ="number "
424
+ step ="1 "
425
+ min ="0 "
426
+ value ="5 "
427
+ />
428
+ </ th >
429
+ < th data-name ="need "> 0</ th >
430
+ </ tr >
402
431
</ tbody >
403
432
</ table >
433
+
434
+ < hr />
435
+ < label
436
+ > Send Memo
437
+ < small > hex-encoded op_return</ small >
438
+ < br />
439
+ < label style ="display: inline-block "
440
+ > < input
441
+ type ="radio "
442
+ name ="memo-encoding "
443
+ value ="hex "
444
+ onchange ="document.querySelector('[name=memo]').placeholder = 'ex: 48656c6c6f2c20576f726c6421' "
445
+ checked ="checked "
446
+ />
447
+ hex
448
+ </ label >
449
+ < label style ="display: inline-block "
450
+ > < input
451
+ type ="radio "
452
+ name ="memo-encoding "
453
+ value ="string "
454
+ onchange ="document.querySelector('[name=memo]').placeholder = 'ex: Hello, World!' "
455
+ />
456
+ string (utf-8)
457
+ </ label >
458
+ < input
459
+ type ="text "
460
+ name ="memo "
461
+ placeholder ="ex: 48656c6c6f2c20576f726c6421 "
462
+ />
463
+ </ label >
464
+ < small
465
+ > Share: < a href ="" data-id ="memo-link " target ="_blank "> </ a
466
+ > </ small >
467
+ < pre > < code data-id ="memo-txid "> < em > output: txid</ em > </ code > </ pre >
468
+ < button type ="button " onclick ="App.sendMemo(event) "> Send Memo</ button >
469
+
470
+ < hr />
471
+ < label
472
+ > Address for WIF Export
473
+ < small > base58check-encoded pkh</ small >
474
+ < input
475
+ type ="text "
476
+ data-id ="export-address "
477
+ placeholder ="ex: ybLxVb3aspSHFgxM1qTyuBSXnjAqLFEG8P "
478
+ />
479
+ </ label >
480
+ < pre > < code data-id ="export-wif "> < em > output: private key as wif</ em > </ code > </ pre >
481
+ < button type ="submit " onclick ="App.exportWif(event) ">
482
+ Export WIF
483
+ </ button >
404
484
</ form >
405
485
</ section >
406
486
< br />
0 commit comments