Comments (4)
Hello, I'm trying to understand, why seed phrases is not acceptable by other wallets?
I have tried to put 24 words to "TON Wallet" plugin for Chrome and to "Tonhub" from generated key, also from exported wallet.# key[1] contains 24 words phrases. key = client.create_new_key(seed.split(' ')) # _________ # word_list from TL object of exported wallet also do not work. wallet.export()['word_list']
Library version is 0.14
Thank you!TonlibClient.create_new_key returns a tuple: a key instance and a mnemonic seed.
# seed is a mnemonic seed key, mnemonic = client.create_new_key(seed.split(' ')) # Get a wallet from the created key wallet = client.init_wallet(key) # Get a word list word_list = wallet.export().word_list
I'm not sure that it will be possible to import a wallet from the library to other wallets like Tonhub and Tonkeeper now, but I would also like to be able to do it. There are other state.code, which at least are not supported yet libtonlibjson.so , which is used to communicate with lite servers.
Fixed in v0.15. Now only word_list
is used as a seed, which is supported by all wallets like TonHub.
Unfortunately, we had to change the interfaces for creating and importing a wallet again, check them out.
However, I still advise using TonlibClient.create_new_key
with all parameters specified to achieve maximum security. But such wallets cannot be transferred to wallet applications
from pytonlib.
Also could you help me to understand how to import wallet?
I saw a function for import import wallet:
'''
client.import_wallet(word_list: str, mnemonic_seed: str, password: str = None)
'''
I can take word_list from wallet.export()
Where can I get mnemonic_seed?
from pytonlib.
Hello, I'm trying to understand, why seed phrases is not acceptable by other wallets?
I have tried to put 24 words to "TON Wallet" plugin for Chrome and to "Tonhub" from generated key, also from exported wallet.
# key[1] contains 24 words phrases. key = client.create_new_key(seed.split(' ')) # _________ # word_list from TL object of exported wallet also do not work. wallet.export()['word_list']
Library version is 0.14
Thank you!
TonlibClient.create_new_key returns a tuple: a key instance and a mnemonic seed.
# seed is a mnemonic seed
key, mnemonic = client.create_new_key(seed.split(' '))
# Get a wallet from the created key
wallet = client.init_wallet(key)
# Get a word list
word_list = wallet.export().word_list
I'm not sure that it will be possible to import a wallet from the library to other wallets like Tonhub and Tonkeeper now, but I would also like to be able to do it. There are other state.code, which at least are not supported yet libtonlibjson.so , which is used to communicate with lite servers.
from pytonlib.
Also could you help me to understand how to import wallet?
I saw a function for import import wallet:
client.import_wallet(word_list: str, mnemonic_seed: str, password: str = None)
I can take word_list from wallet.export() Where can I get mnemonic_seed?
You can import the key into the keystore to use this wallet on another device or with another keystore. This can be done using TonlibClient.import_wallet(word_list, mnemonic_seed). We get the wordlist via Wallet.export()
, and mnemonic_seed is specified when generating the key in TonlibClient.create_new_key(seed)
But if we are in the same keystore, then we only need to find out Wallet.path in order to use it the next time the program starts with TonlibClient.find_wallet
from pytonlib.
Related Issues (20)
- AttributeError: 'TLObject' object has no attribute 'config_info' HOT 1
- AssertionError: source must be specified HOT 1
- Wallet alt-coin HOT 1
- nft transfer WalletInterface.cpp error HOT 1
- Is there a Testnet? HOT 1
- can't install in python 3.11
- SxSky
- Apple M1 HOT 2
- Как собрать libtonlibjson в windows? HOT 1
- [SxSky}
- Init wallet? HOT 1
- Error in tonlibjson.__del__: 'TonLib' object has no attribute '_tonlib_json_client_destroy' HOT 8
- [Solved] DANGEROUS_TRANSACTION: Transfer to uninited wallet / ACCOUNT_TYPE_UNKNOWN HOT 2
- I can't use it on the apple mac arm chip HOT 1
- ACCOUNT_TYPE_UNKNOWN
- How to connect a wallet using a QR code?
- timeout
- Great work! But how to use it?
- get_balance() method is broken HOT 3
- Platform could not be identified OR illegal instructions
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 pytonlib.