Comments (2)
This will be possible in certain cases, provided that (1) you didn't set your private keys directly with e.g. import_wallet
, and (2) you aren't using a multisig ownership or payment address (which requires multiple independent private keys). The multisig support hasn't been deployed yet, but will be in a few weeks.
In the mean time, you can decrypt the wallet and extract the bare information (multisig or not) with the following script. I'll add this into the CLI for the next release.
#!/usr/bin/python
import blockstack_client
import sys
import json
from getpass import getpass
if len(sys.argv) != 2:
print >> sys.stderr, "Usage: %s /path/to/wallet.json" % (sys.argv[0])
sys.exit(1)
wallet_path = sys.argv[1]
password = getpass("Wallet password: ")
with open(wallet_path, "r") as f:
wallet_data = f.read()
wallet_data = json.loads(wallet_data)
ret = blockstack_client.wallet.decrypt_wallet( wallet_data, password )
print json.dumps(ret, indent=4, sort_keys=True)
sys.exit(0)
from stacks.js.
In 0.14.0, we've added a blockstack wallet
command that will print out the base58check key information stored in ~/.blockstack/wallet.json
.
from stacks.js.
Related Issues (20)
- 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`
- Add a waitForTransactionFunction
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.