An open API service indexing awesome lists of open source software.

https://github.com/xdagger/xdag-plus

This is a cross-platform XDAG GUI wallet, powered by Rust and Slint UI.
https://github.com/xdagger/xdag-plus

cross-platform cryptocurrency rust slint-ui wallet xdag xdagger

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Rust XDAG Wallet

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

![slint ui icon](https://github.com/slint-ui/slint/raw/master/logo/slint-logo-full-light.svg)

## 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

```bash
cargo build --release --package app
```

## Build JsonRpc Server

```bash
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.
```bash
server --ip --port --mnemonic
```

add --test-net command line parameter when using test net.
```bash
server --ip --port --test-net
```

- jsonrpc server: server --ip \ --port \
- method: Xdag.Unlock
- params: ["\"]
- response: {"id":1,"result":"success"}
- method: Xdag.Lock
- params: ["\"]
- response: {"id":1,"result":"success"}
- method: Xdag.Account
- params: [""]
- response: {"id":1,"result": "\"}
- method: Xdag.Balance
- params: [""]
- response: {"id":1,"result": "\"}
- method: Xdag.Balance
- params: ["\"]
- response: {"id":1,"result": "\"}
- method: Xdag.Transfer
- params: [{"amount":"\","address":"\","remark":"\"}]
- response: {"id":1,"result": {"Status":"success","TxHash":"\"}}

## Acknowlegement