+
Skip to content

XDagger/xdag-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust XDAG Wallet

This is a cross-platform XDAG GUI wallet, powered by Rust and Slint UI.

slint ui icon

bip32

bip32 package forked from bip32 crate and changed mnemonic words length.

It supports new 12 words generation and 12 ~ 24 words importation.

Platforms

support Linux, Windows, MacOS ( Android and Wasm are in the plan)

Build GUI Wallet

cargo build --release --package app

Build JsonRpc Server

cargo build --release --package sever

Server usage

usage: by command-line parameter -help

first time run server, you need to import a mnemonic file to create a wallet.

server --ip <ip address> --port <port number> --mnemonic <mnemonic file path>

add --test-net command line parameter when using test net.

server --ip <ip address> --port <port number> --test-net
  • jsonrpc server: server --ip <ip address> --port <port number>
    • method: Xdag.Unlock
      • params: ["<wallet password>"]
      • response: {"id":1,"result":"success"}
    • method: Xdag.Lock
      • params: ["<wallet password>"]
      • response: {"id":1,"result":"success"}
    • method: Xdag.Account
      • params: [""]
      • response: {"id":1,"result": "<wallet address>"}
    • method: Xdag.Balance
      • params: [""]
      • response: {"id":1,"result": "<wallet balance>"}
    • method: Xdag.Balance
      • params: ["<wallet address>"]
      • response: {"id":1,"result": "<balance of the address>"}
    • method: Xdag.Transfer
      • params: [{"amount":"<amount>","address":"<to address>","remark":"<remark>"}]
      • response: {"id":1,"result": {"Status":"success","TxHash":"<transaction hash>"}}

Acknowlegement

https://github.com/syf20020816/SurrealismUI

About

This is a cross-platform XDAG GUI wallet, powered by Rust and Slint UI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载