Giter Site home page Giter Site logo

Comments (8)

jpuck avatar jpuck commented on July 28, 2024 3

@jcnelson is there any documentation for the withdraw command? Only the recipient address is marked as required, but all attempts to use this command result in:

Invalid arguments. Please try again.

Can the recipient address be any wallet, such as a Coinbase wallet?

EDIT figured it out - there's an issue with the interactive prompt. Passing the arguments directly to the command works fine, but when inputting the same arguments to the prompt results in the error.

See also: https://forum.blockstack.org/t/blockstack-withdraw-always-results-in-invalid-arguments-please-try-again/3451/2

from stacks.js.

muneeb-ali avatar muneeb-ali commented on July 28, 2024 2

I was helping @JFiscella debug an issue and we noticed that the ability to withdraw funds should be there not just for the payment address but also for the owner address (in case you accidentally sent BTC to the owner address, which is what happened in this case).

from stacks.js.

sfmcnally avatar sfmcnally commented on July 28, 2024 1

I would also like to be able to withdraw excess bitcoin or have some instructions for how to decrypt the private key.

from stacks.js.

koppenhoefer avatar koppenhoefer commented on July 28, 2024 1

I see that I am not the only one who can get confused over this :) Blame it on the coffee...

I just did "blockstack deposit" and got a heading text that says "Wallet created" (yeah). Did it create a wallet?.. or did it create a deposit?.. Or did it create a wallet that I will use to make a deposit into an "account" (see later). Then I see a text talking about a MASTER_PRIVATE_KEY (I assume this is the private key of my newly created wallet),.. and something else called an ADDRESS. The 'address' has a message after it which is "Send bitcoins to the address specified". So I guess that that address is not the address of MY wallet. After all,.. when I purchase something don't I want to send money to anywherebutmyownwallet? So it must be a bitcoin address of someone else's wallet? So what's the address of my own wallet where I can send some bitcoins in order to then send those bitcoins to the ADDRESS? Call me confused... :(

Of course, when I do "blockstack names" I see an entirely different address with a different value as that which popped out when I did "blockstack deposit". Hmmm. Maybe "that's" my own wallet address?

I wonder which address' is the address of my newly created wallet,.. and which 'address' is the address of someone else's wallet to which bitcoins will be sunk (and I assume burned) when sourced from my wallet. Does anyone know? I don't want to send too many bitcoins to the wrong ADDRESS,.. and end up in the same situation as @rikur and @sfmcnally .
On https://blockstack.org/docs/basic-usage I read "you'll need to deposit bitcoins in your ACCOUNT". Hmm. What's that? Is this an account that Blockstack manages?... or did this text intend to say "deposit bitcoins in your wallet"... or did this text intend to say "send bitcoins to that ADDRESS". :(

When I do "blockstack balance" I see ADDRESS again... with a balance of 0.0. Can I understand that "a balance of 0.0" is the same thing as "a deposited amount of 0.0"? Is this showing me the amount in my "wallet"?.. or is this showing me the amount that I've deposited (somehow) in my "account"?

It'd be really cool if I could manage my new blockstack wallet,.. say, in AirBitz?

I notice that doing "blockstack register blahblah.id" requests the wallet password and then talks about cost. So I guess that the phrase "deposit bitcoins in your account" was meant to say "load up bitcoins into the wallet address"; But I'm not totally sure on this one.

from stacks.js.

Gitju avatar Gitju commented on July 28, 2024

@koppenhoefer blockstack deposit shows you an address where to send Bitcoin to pay the costs for a registration.

A blockstack balance shows the balance of what you have send to blockstack deposit.

You can get the costs for a registration with blockstack price <johndoe>.id

A blockstack register <johndoe>.id uses then the Bitcoin that you have send.

from stacks.js.

jcnelson avatar jcnelson commented on July 28, 2024

There's a way to do this, but it's currently a manual process. First, you'll have to install a Bitcoin wallet. Next, you'll need to get your private keys out with blockstack wallet. Then, you can import your private keys into your Bitcoin wallet, and use them to transfer your funds.

A Blockstack CLI command to transfer funds from either the owner or payment keys will be added in 0.14.1.

from stacks.js.

jcnelson avatar jcnelson commented on July 28, 2024

This is now added with the withdraw command.

from stacks.js.

Anastik avatar Anastik commented on July 28, 2024

@jpuck thanks for posting this. I couldn't figure out why I couldn't withdraw my funds until I read your comment. I appreciate it!

from stacks.js.

Related Issues (20)

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.