Git Product home page Git Product logo

pactus-gui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pactus-gui's Issues

GUI wont open after added new validator address and bonded coins.

I made a new validator address and bonded coins to it. But when it created the validator address it did not create a paired reward address. After closing the GUI and reopening it no longer works and gives error cannot find reward address. The work around was to start the wallet in CLI and add new address which then created the reward address.

I would propose on creation of a validator address it automatically creates the paired reward address.

Initializing the node wizard

Initializing the node wizard

The initializing wizard helps users to initialize the node. The initialize wizard has these pages:

Initialize Mode page

User decides what he wants to:

  • Create a new wallet
  • Restore wallet from a mnemonic seed

It's better to add some icons for these options like Monero.

Current GUI:

Screenshot

Monero:

Screenshot

Create a wallet page

In this page, a mnemonic seed will be generated for the user. To generate the mnemonic seed use this package. More info about BIP-39 can be found here

Current GUI:

Screenshot

Confirm seed page

In this page the user confirms the seed by retyping it again. The paste function should be disabled here and the user has to type the mnemonic seed again manually.

Current GUI:

Screenshot

Password page

In this page user can enter a password for the wallet. The password can be empty.

Current GUI:

Screenshot

Monero:

Screenshot

Summary page

Before the summary page, we should call pactus-daemon with init sub-command and initialize the folder. If any error happens, we need to show it to the user, otherwise in the summary page we show the location of the working directory.

Current GUI:

Screenshot from 2022-11-07 19-55-04

Monero:

Screenshot

Restore wallet page

If the user chose to restore the wallet, we ask him to enter the monotonic seed again.

Monero:

Screenshot

Questions:

How to let the user change the working directory?

Right now, the default location of the working directory is in the home_dir/pactus folder. We have two options to let user to change the location of working directory:

  1. Using command line argument:

The current GUI (and bitcoin-qt) uses this approach. If a user wants to use another location, he can run the GUI with an extra argument. like: pactus-gui.exe -working-dir=C:\another-folder

  1. Adding location option in Create wallet page:

In this approach users can choose another folder for the working directory in the wizard.
There is a side effect here: we need to save this location somewhere as a global config (It's different per OS)

Let's choose the first approach for now. but we can change it in the future.

How to show the Validator and Reward address in Summary pages?

The current GUI shows the validator and reward addresses in the summary page. To show these addresses in the new GUI, we need to get these addresses from the wallet:

pactus-wallet.exe address all

Suggestion

A suggestion when broadcasting Bond transaction. It would be very helpful when choosing Account address and Validator address, That the Account numbers would show like they do in main window under Addresses. Just very much easier to send when you the number. Cheers Good job guys.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.