Search content
Sort by

Showing 19 of 19 results by satochi
Post
Topic
Board Altcoin Discussion
Topic OP
bnb beacon chain wallets to balance with python
by
satochi
on 23/02/2023, 21:32:11 UTC
hello friends

I have a project with more than 100 BNB wallet address(bep2). I want to get balance of them.

do you know any API service for that?

note that these address starts with bnb1...(like: bnb1ufttxr7eqq6jmr9wkyt9c68nurxgwajd7m35kc)

and for example this is an explorer: https://explorer.bnbchain.org/address/bnb1ufttxr7eqq6jmr9wkyt9c68nurxgwajd7m35kc

is there a python library that can do that?

any help will be appreciated.
Post
Topic
Board Altcoin Discussion
Re: $$$ 50 $$$ reward for a python code
by
satochi
on 09/02/2023, 08:37:19 UTC
Reach me on Telegram: @ElevatedWarrior. I'll link you up with someone.

you can contact me in PM.
Post
Topic
Board Altcoin Discussion
Topic OP
$$$ 50 $$$ reward for a python code
by
satochi
on 09/02/2023, 08:18:10 UTC
hello guys
I will pay 50$(usdt) for code in python which can generate BNB-bep2(bnb beacon chain which starts with bnb1...) address from a mnemonic wallet 12 words.

I mean assuming mnemonic 12 words example as: "venture fitness paper little blush april rigid where find volcano fetch crack label polar dash"
the code should be able to to give bnb bep2 address output as: bnb1zfz67wkqvzx0gdtrp42dhygcsnd6urye9f6xec
this is also the output in Trustwallet for above mnemonic wallet.

using only HDwallet lib(https://pypi.org/project/hdwallet/) would be so appreciated but not limited to.
Post
Topic
Board Altcoin Discussion
Re: Paid python job: How to generate bnb beacon chain hd wallet from mnemonic
by
satochi
on 05/02/2023, 15:42:52 UTC
I just edited subject. I'm really looking into this and waiting for any help. this shouldn't be a challenge for a python programmer at all.
Post
Topic
Board Altcoin Discussion
Re: How to generate bnb beacon chain hd wallet from mnemonic 12 words wallet
by
satochi
on 04/02/2023, 07:32:10 UTC
OK, consider my mnemonic wallet example as this:
"venture fitness paper little blush april rigid where find volcano fetch crack label polar dash"
and this mnemonic wallet should generate bep2 address as this(based on Trustwallet and other wallets):
bnb1zfz67wkqvzx0gdtrp42dhygcsnd6urye9f6xec

and so far my code is like this:

Code:
mywallet = BIP32HDWallet(symbol="BTC").from_mnemonic(mnemonic)
mywallet.clean_derivation()
mywallet.from_path("m/44'/714'/0")
print(mywallet.dumps())

and output as this:

Code:
{'cryptocurrency': 'Bitcoin', 'symbol': 'BTC', 'network': 'mainnet', 'strength': 160, 'entropy': 'f24afe7fc1418815ee7fd256beb55518e7c34ecd', 'mnemonic': 'venture fitness paper little blush april rigid where find volcano fetch crack label polar dash', 'language': 'english', 'passphrase': None, 'seed': '8d5f4fe5b81a6a6a18b08603b6b3f59df9f4bbb25d10c55d23e0cbdc5ee385e5fddad9d7e6114f11afdec45928328081f9a598151a7613dc5f5a0c16a4612aa4', 'root_xprivate_key': 'xprv9s21ZrQH143K3xPGUzpogJeKtRdjHkK6muBJo8v7rEVRzT83xJgNcLpMoJXUf9wJFKfuHR4SGvfgdShh4t9VmjjrE9usBunK3LfNna31LGF', 'root_xpublic_key': 'xpub661MyMwAqRbcGSTjb2Mp3Sb4STUDhD2x986ubXKjQa2QsFTCVqzdA98qeZjcncHT1AaZcMSjiP1HJ16jH97q72RwyFfiNhmG8zQ6KBB5PaQ', 'xprivate_key': 'xprv9ydvNRUp9i96qKGTQ2KbAzRdR8DRGiDnYfRVqe2jGsz9rBwZQLH53DJWoB8CFik3qyZwLEq64cubVhheKhoqwJiXgs8wSv3m94qWTYA2WQe', 'xpublic_key': 'xpub6CdGmw1hz5hQ3oLvW3rbY8NMyA3ugAwdutM6e2SLqDX8izGhwsbKb1czeQtZT3rVdMJi1E5kbDYQsHfWoSoRjL9ihwvyyQE44VDuvTEiaG8', 'uncompressed': '0e358c9f4a07d67077a2cbba313fd1fb91b6ff42b9102bf2de64573d56a8918810fe0bd536273206cfcb00a2119122b1ce2618508627371a495e00f52f158ed4', 'compressed': '020e358c9f4a07d67077a2cbba313fd1fb91b6ff42b9102bf2de64573d56a89188', 'chain_code': 'f2cf47776745ca86c08931b462f77a7c0e2f3c61b8fcd55ebec72283400a647e', 'private_key': 'b4dfeb592aa9feef7526cd9b774c48d32c3b8a25c37fb84f087f386530edade6', 'public_key': '020e358c9f4a07d67077a2cbba313fd1fb91b6ff42b9102bf2de64573d56a89188', 'wif': 'L3HJo8YmC7s1Rcjx8baj9LQqDVzF6tqKxmSXeapMedh6y3pnNkZh', 'finger_print': 'fb4bdd9f', 'semantic': 'p2pkh', 'path': "m/44'/714'/0", 'hash': 'fb4bdd9f22962e77972c5cd1f14777a77c588026', 'addresses': {'p2pkh': '1PujVPhU4DG2TdZUmiZLG8BeT1aCZfoUxS', 'p2sh': '3Gmecf5pWiz7xpPL8kr66igscgFzcH9P8w', 'p2wpkh': 'bc1qld9am8ezjch809evtnglz3mh5a793qpx52qzzv', 'p2wpkh_in_p2sh': '3Ba6uct7Afj7etFxxu3iBzmuu4oY8Rgyt7', 'p2wsh': 'bc1qhs82kkt7pe537rzz932rfttexctanq7ua3tkwx6c2tf05r32x30syqptd4', 'p2wsh_in_p2sh': '3F4ezG4hxj3RkVDvdpadMFefN3288efuKc'}}


I don't know what derivation path I shall use since the one I tried above was from https://docs.bnbchain.org/docs/beaconchain/learn/accounts/("44'/714'/") but it didn't worked, I just guessed it should be more like this to work: "m/44'/714'/0". yes it work and doesn't throw an exception. but yet no output as desired result which should be like bnb1zfz67wkqvzx0gdtrp42dhygcsnd6urye9f6xec.


What am I doing wrong? Huh

If this is not against the forum rules I'll pay for right answer just using hdwallet lib in python: https://pypi.org/project/hdwallet/
Post
Topic
Board Altcoin Discussion
Re: How to generate bnb beacon chain hd wallet from mnemonic 12 words wallet
by
satochi
on 03/02/2023, 06:58:17 UTC
There isn't much many difference between BNB Beacon Chain with other cryptocurrency address generation processes, in fact, it uses industry standards.

You should have known better that such kind of information is available on their own documentation page. Take a look over https://docs.bnbchain.org/docs/beaconchain/learn/accounts.

To cite it,

Quote
This default wallet would use a similar way to generate keys as Bitcoin, i.e. use 256 bits entropy to generate a 24-word mnemonic based on BIP39, and then use the mnemonic and an empty passphrase to generate a seed; finally use the seed to generate a master key, and derive the private key using BIP32/BIP44 with HD prefix as "44'/714'/", which is reserved at SLIP 44.

And for the address generation using:

Code:
Address_Bech32 = HRP + '1' + bech32.encode(convert8BitsTo5Bits(RIPEMD160(SHA256(compressed public key))))

There are many wallets that support Beacon Chain, so in case you need a code example, browser around over those(https://docs.bnbchain.org/docs/beaconchain/wallets) referred wallets.

This is so helpful. Thank you.

In addition do you think I can generate address using hdwallet lib:
https://hdwallet.readthedocs.io/en/v2.2.1/cryptocurrencies.html

Based on the link above this lib dosn't support bnb. Is there still some way to derive keys using this lib? For example based on the documentations key generation is quit like the BCH but I dont know how.
Post
Topic
Board Altcoin Discussion
Topic OP
How to generate bnb beacon chain hd wallet from mnemonic 12 words wallet
by
satochi
on 03/02/2023, 05:26:21 UTC
Hello
I need to know how to generate public key for bnb beacon chain(bep2) which srarts with bnb1 from a mnemonic 12 word wallet.
My code is in python but any other lang is welcome also.
I have no idea what derivation path and algorithm to use.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 18/08/2022, 21:50:56 UTC
I think I'm just not familiar with the way of using libs.

because I want to use these in bulk a shorter, more efficient and human readable code is much more appreciated.

I'm not that familiar with this library either. But i find the example[1] and documentation[2] is easy to understand. IMHO you should hire someone to create good quality code for you. But here's simple code for example 1.

[1] https://github.com/meherett/python-hdwallet/tree/master/examples
[2] https://hdwallet.readthedocs.io

If you don't mind me being straight we have already discussed those links, copy and pasting them back might help your activity but not a solution to my problem. you are not familiar with this library either(as stated) so you don't have to push a post. I don't get it. thanks.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 18/08/2022, 07:58:44 UTC
I have this lib setup and imported to my project. but don't know how to call and give seed as input and get public key of my desired coin as my desired derivation path.

Could you be more specific? The documentation of library you mentioned give several code examples.

Code:
# Source: https://hdwallet.readthedocs.io/en/v2.1.1/hdwallet.html#hdwallet.hdwallet.HDWallet.p2wpkh_address
>>> from hdwallet import HDWallet
>>> from hdwallet.symbols import BTC
>>> hdwallet = HDWallet(symbol=BTC)
>>> hdwallet.from_mnemonic(mnemonic="venture fitness paper little blush april rigid where find volcano fetch crack label polar dash", passphrase="meherett")
>>> hdwallet.from_path(path="m/44'/0'/0'/0/0")
>>> hdwallet.p2wpkh_address()
"bc1qfky82ek5pr07t65qjretw9hevw2j8j5fdrn5hc"

If you need to get public key, just use hdwallet.public_key() after specify correct derivation path.

Code:
>>> hdwallet.from_path(path="m/44'/0'/0'/0/1")
>>> hdwallet.p2wpkh_address()
'bc1qllytr4ftxqgpg2he8uafcgcj9gzxcv7xmuyjw6'
>>> hdwallet.public_key()
'02fed55ac2909f56c9a2f933113893fdc18a24b7a12c9530c771e47e991da0401b'

I would like some examples if possible please.
1- how do I use this lib to create bulk random seeds in a for loop. print each mnemonic.
2- how do I use this lib in a for loop so it generate keys of default derivation path for a list of coins for a given mnemonic seed phrase.
for example I give the input as:
[carpet, stove, mind, material, icon, tree, jungle, beyond, anchor, hover, robust, else](seed phrase as a list type)
and
[btc legacy, btc segwit, eth, doge](desired coins)
and get the output:[btc legacy: blah blah blah..., btc segwit: blah blah blah..., eth: blah blah blah..., doge: blah blah blah...]

I think I'm just not familiar with the way if using libs.

3- another example is what is the code if I want to check my seed phrase to see if it is valid(checksum) or not

because I want to use these in bulk a shorter, more efficient and human readable code is much more appreciated.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 08/08/2022, 14:31:14 UTC
so far I have find this lib: https://github.com/meherett/python-hdwallet
which support lots of coins.

Just because I'm new to this I don't know how to call for action.
I have this lib setup and imported to my project. but don't know how to call and give seed as input and get public key of my desired coin as my desired derivation path.

so a little push of python needed.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 08/08/2022, 10:37:46 UTC
Update: I have started programing in python.
Now I'm able to generate valid possible seed phrases. what I need is to be able to turn seeds to public keys in order to check their activity on blockchain. I need to be able to convert seed phrase to common derivation path of lets say first 20 coins on the market. in order to that I need a python library. which I'm sure there is one but I don't know where to find it.

is there a python section or forum so I can start a topic on it?
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 06/08/2022, 15:59:20 UTC
First of all, how did you arrive at the number of 35,000? A 12 word seed phrase missing 2 words gives 2048*2048 = 4,194,304 possible combinations. Even excluding the 15/16 of those which would produce an invalid checksum, you end up with 262,144 possibilities.
I would also use btcrecover to do this. Since you do not know an address, then you would instead use an address database: https://btcrecover.readthedocs.io/en/latest/Creating_and_Using_AddressDB/
Set it up with your database, tell if the 10 words you do know and the locations of the two you don't know, and let it run. It will try every possible valid combination and check if the first x number of addresses in whichever derivation path(s) you specify have ever been used.
That was my miscalculation. I just head estimated the number without knowing about 15/16. I also didn't knew about database for btcrecover. it makes a huge difference. Thank you.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 06/08/2022, 11:33:33 UTC
long story short, we have like 35.000 possible seed phrase combinations(with some extra filtering)
You can use btcrecover. The tool can be helpful to brute-force the seed phrase.
As there are only 2 missing words, it shouldn't be difficult to find them.
This seems practical. how does it work? I mean dose it shows which one has balance or activity? or just make different combinations of possible seed phrase?

now I need to check these seeds to see which one contain balance of which coin.
You won't be able to do it without custom programming. Even if you find a multi-chain wallet that supports importing multiple seed phrases (which I seriously doubt exists), you still won't be able to import all possible combinations. Not even close.
As hosseinimr93 suggested, you can start with btcrecover, which is open source, and hire a developer who can make the necessary modifications to automate the process, if you don't know how to do it yourself.
I'm seriously looking into it.

actually a relative passed away months ago.
I'm trying to recover his funds. the only copy of seed phrase miss 2 words.
long story short, we have like 35.000 possible seed phrase combinations(with some extra filtering)
now I need to check these seeds to see which one contain balance of which coin.
So you are looking for a wallet that you can able to import multiple seed backup and look for the exact wallet with funds since you don't know the 2 missing words you are trying to look for a faster way to import seed backup with 2 random words.
Actually, there is a way to speed up this process of finding the right backup seed BTCrecovery as mentioned above is the first tool to recover missing words. Still, if you are looking for an easier one there is another tool that is way easier to use.
Check this one "The FinderOuter, a bitcoin recovery tool" that you can find here https://bitcointalk.org/index.php?topic=5214021.0
The problem with FinderOuter is it needs public key to compare. which I don't have any.

What do you want to achieve?
Do you want to have all your addresses in a single wallet? If so, you should import your private keys instead of the your seed phrases.
nice question
actually a relative passed away months ago.
I'm trying to recover his funds. the only copy of seed phrase miss 2 words.
long story short, we have like 35.000 possible seed phrase combinations(with some extra filtering)
now I need to check these seeds to see which one contain balance of which coin.
There is no clue about which coins they had bought? I'm not very proficient with altcoins; they all use the same wordlist and same number of words like Bitcoin wallets? Maybe 2 words are not missing, but it's some altcoin that uses 10 or 22 word seed phrases? I guess that could be a hint towards which cryptocurrency you're looking to recover.
Otherwise, I guess you would need to use FinderOuter or btcrecover, but modify it to work with other coins and run it once per coin. That's how I would do it.
No clue of which coins or tokens. that's why I need to find any address with balance or even activity(even with 0 balance, activity of the address point the correct seed phrase, then I can go after tokens and other coins. I think the big chunks mostly will be in BTC,ETH,BNB,...)

but it's some altcoin that uses 10 or 22 word seed phrases?
Altcoins almost always copy algorithms from bitcoin so their word count should also be the same but keep in mind that if there is an altcoin wallet that generates such uncommon number of words then you can't use the common recovery tools for it because it requires a special algorithm considering 10 or 22 words don't correspond to the common entropy sizes (160 to 256 bit), or their word list and its total count could be different.
As mentioned after finding the correct seed I can go after altcoins in details.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 05/08/2022, 20:26:07 UTC
What do you want to achieve?
Do you want to have all your addresses in a single wallet? If so, you should import your private keys instead of the your seed phrases.


nice question
actually a relative passed away months ago.
I'm trying to recover his funds. the only copy of seed phrase miss 2 words.
long story short, we have like 35.000 possible seed phrase combinations(with some extra filtering)
now I need to check these seeds to see which one contain balance of which coin.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 05/08/2022, 20:08:24 UTC
Two problem exist there:
1- electrum is not a multicoin wallet
2- I have to import 1 by 1. I don't want this.
For altcoins, I will not be able to recommend any wallet because they are close source wallets. Some of them have such function by using just a wallet app for many wallets. If you want to be able to copy the seed phrase of 10 wallets at once and paste it to create the respective 10 wallets, that will not be possible. But you can create such software yourself.

your recommendation(electrum) doesn't import multiple seed phrase AT ONCE even for BTC either. so thank you for the effort.
Post
Topic
Board Bitcoin Technical Support
Re: Which Wallet support multi seed phrase import?
by
satochi
on 05/08/2022, 19:53:40 UTC
You will have to open different wallet for each seed phrase, that is how it is. But on the same wallet app, like on Electrum, you can open different wallets on Electrum. It is a good option to go for.

Two problem exist there:
1- electrum is not a multicoin wallet
2- I have to import 1 by 1. I don't want this.
Post
Topic
Board Bitcoin Technical Support
Topic OP
Which Wallet support multi seed phrase import?
by
satochi
on 05/08/2022, 19:43:24 UTC
Hello
I have a number of seed phrases(eg 10 X 12 Words) and need to work with them.
I need a software wallet, windows or android, which can support multiple seed phrase import.
for example I need to be able to copy 10 seed phrases into clipboard(12 words for each line, 10 line total) and paste them into the software import form.
I know I can have multiple wallet on Trust Wallet and some others, but when importing you need to do it 1 by 1. I want to be able to copy 10 seed phrase or more and import them at once into the wallet software.
one last thing I need a multi Coin wallet not just BTC or ETH...

Any thought appreciated. Thanks.
Post
Topic
Board Altcoin Discussion
Re: Is it time to buy now? top coins lost almost about 50% of their ATH
by
satochi
on 22/12/2017, 16:33:21 UTC
Yes, probably not a bad time and not a bad idea. but only if planned. remember if you don't plan, you plan to fail.
go as you planned and you will not regret. trust yourself, no one else. -satochi
Post
Topic
Board Economics
Re: DON'T DO PANIC SELLING !!!
by
satochi
on 21/12/2017, 23:29:50 UTC
It's crystal clear:
1- sell if you need
2- buy if you can
3- enjoy the game  Wink