Giter VIP home page Giter VIP logo

offline-wallet-generator's People

Contributors

ashelkovnykov avatar tomholford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

offline-wallet-generator's Issues

err: Can only specify option -o once

╰─$ docker run --rm -it -v ~/:/app/output/:rw ashelkov/owg:latest -m -p -o ~/.wallets/ solo
Custom mnemonic to use for generating wallets/addresses: [redacted]
Password for mnemonic used to generate wallet master key:
[Confirm mnemonic password:]
[com.ashelkov.owg.Application] [2024-03-13 05:57:29] [SEVERE] Can only specify option -o once.

edit:

Here's the updated command:

╰─$ docker run --rm -it -v ~/:/app/output/:rw owg:latest -m -p -K -o ~/.wallets/ solo AVAX

[request] Output formatters

It would be useful to support multiple output formats like JSON, YAML, etc. so that this tool can be used in a multi-step pipeline, or it's output consumed by other applications.

E.g.,

bin/owg-local.sh -o ~/.wallets/test.json -p cold -c BTC --format json

test.json

{
  "createdAt": 1635296673,
  "currency": "BTC",
  "mnemonic": "test test test ... test",
  "xpub": "zpub123456.....lskdfjasdklfj",
  "accounts": [
    {
      "address": "0x12345...ABCD",
      "path": "m/44'/60'/0'/0/0"
    },
  ]
}

CLI seems to expect args in a certain order

Steps

  1. Run the following command, but with the flags in different orders:
WALLET_ID=$(date +%s) WALLET_CURRENCY=BTC bin/owg-local.sh -o ~/.wallets/cold/$WALLET_CURRENCY/$WALLET_ID -p cold -c $WALLET_CURRENCY

For example:

WALLET_ID=$(date +%s) WALLET_CURRENCY=BTC bin/owg-local.sh -o ~/.wallets/cold/$WALLET_CURRENCY/$WALLET_ID -c $WALLET_CURRENCY -p cold

Expected behavior

A user can call owg with the required flags (-o, -p, etc.) in different order permutations, and the wallet should be generated as expected.

Actual behavior

output varies, perhaps depends on the order of flags?

SEVERE: Expected a command, got -c
SEVERE: Was passed main parameter '-o' but no main parameter was defined in your arg class

Add private/public key code for ALGO

I've been using Ian Coleman's website to double-check that the addresses and keys are correct. Currently, there is no support for Algorand. I have no pressing need for ALGO private/public keys right now, so if someone else would like to add them, that would be appreciated.

Add private/public key code for AVAX

I've been using Ian Coleman's website to double-check that the addresses and keys are correct. Currently, there is no support for Avalanche. I have no pressing need for AVAX private/public keys right now, so if someone else would like to add them, that would be appreciated.

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.