Comments (8)
@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.
from stacks.js.
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.
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.
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.
@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.
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.
This is now added with the withdraw
command.
from stacks.js.
@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)
- Improve Error Messages around Fee Estimation HOT 2
- Feature Request: Generate Bitcoin Address in wallet-sdk
- serialize methods should always output string, and add Bytes/Raw version of methods used internally
- new bufferCV bug HOT 1
- React Native: Environment does not have randomBytes function HOT 2
- Feature request: stacking helper function for `verify-signer-key-sig`
- Fix ABI buffer encoding
- `bigint` arguments HOT 4
- Rename pox address helpers HOT 1
- Proper Documentation and Easy example for beginners on Bitcoin Stacks HOT 1
- Remove `logger` code and replace with `console.` HOT 1
- @stacks/cli using deprecated module `punycode`
- Support OrderIndependentMultisigSpendingCondition in stacks.js
- Add private module to monorepo for testing helpers
- Add order-independent multisig implementation HOT 1
- Rebuild CLI
- SPIKE: Docs-first refactor [3 days]
- API key header name doesn't match documented header name HOT 1
- Docs-first Refactor
- Support for Post Conditions with PrinicipalID type `Origin`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stacks.js.