Author

Topic: Convert BIP39 to public key bitcoin by API (Read 319 times)

full member
Activity: 203
Merit: 168
March 14, 2019, 11:45:22 AM
#8
It is not a web service, but hd-wallet-derive can perform this for you running locally.  eg:

Code:
$ ./hd-wallet-derive.php --mnemonic="before muscle nice seek sign film west capable cube hundred wisdom lawn" --numderive=5 --cols=path,address -g

+-----------------+------------------------------------+
| path            | address                            |
+-----------------+------------------------------------+
| m/44'/0'/0'/0/0 | 12fMUNE8fGstCNxxK7tnRWZQ4BC8qaGvvi |
| m/44'/0'/0'/0/1 | 19rG3WrG8yh2mbdoXXHBu1AvkpB19aqjnN |
| m/44'/0'/0'/0/2 | 1Bz5mXQShd4rskT7bMcL8x1KyPQ8zxDbeu |
| m/44'/0'/0'/0/3 | 16Tyzt9vP7rzjPEaUPrt21psvJgg5weoBN |
| m/44'/0'/0'/0/4 | 1KumLyHKAoAEwzGJPK6q4DQBwtZcNfXzq6 |
+-----------------+------------------------------------+

You can call it from your program in any language.


Hi,
I need a Web service that be able to change BIP39 words to other bit coin addresses.
I search this website https://iancoleman.io/bip39/ but I could not find the answer.
For example I Wana give these words "before muscle nice seek sign film west capable cube hundred wisdom lawn"to code and then have  an outcome with public key Bitcoin.
Please help me.Thanks.

HCP
legendary
Activity: 2086
Merit: 4361
February 16, 2019, 03:36:28 PM
#7
but i need to api or web service for convert
There shouldn't be any API or webservice that does this... because it is a "Bad Idea"™... you're essentially broadcasting your private keys to an online service. Shocked Shocked Shocked

If you need to be able to convert from a seed mnemonic to your private/public keys and addresses, I suugest that you read up on BIP39: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki

It even has a list of implementations for a whole variety of programming languages at the bottom of that github page. I can almost guarantee that whatever language you are currently using for your project, already has existing libraries to convert from seed mnemonic to keys/addresses, so you will be able to do the conversion locally without needing an external service.
newbie
Activity: 6
Merit: 0
February 16, 2019, 02:50:26 AM
#6
Thank you for all your answers
iancoleman.io nop , but i need to api or web service for convert


sr. member
Activity: 938
Merit: 452
Check your coin privilege
February 15, 2019, 09:25:11 PM
#5
https://iancoleman.io/bip39/

This website does do what you're asking though.. Just scroll down and you'll see all addresses derived from the mnemonic using the default path..
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
February 15, 2019, 05:07:58 PM
#4
Honestly, I don't understand what you are looking for and why you need to convert the BIP39 seed to public key?
This tool https://iancoleman.io/bip39/ can make you generate a list of public keys including private keys just paste your seed phrase or use the generate button and then you can see all public keys under derive addresses including your private keys.

If you don't know how to use this iancoleman.io/bip39/ this is one of the examples how to use this tool check this https://bitcointalksearch.org/topic/tutorial-export-private-key-from-blockchaininfo-for-bitcoin-cash-2063572

Another guides how to use this tool you can check these thread or youtube below.

- https://www.youtube.com/watch?v=RqyUnBb9n2o
- https://bitcointalksearch.org/topic/m.49651803
- https://bitcointalksearch.org/topic/tutorial-how-to-extract-bitcoin-gold-from-a-2fa-electrum-wallet-step-by-step-2550529

Take note this is just samples of how to use the iancoleman BIP39 tool.
HCP
legendary
Activity: 2086
Merit: 4361
February 15, 2019, 03:39:55 PM
#3
I need a Web service that be able to change BIP39 words to other bit coin addresses.
This is NOT something that should be done using an online service! Shocked Shocked Shocked

The "BIP39 words" are a mnemonic used to derive the BIP39 seed... from this seed, ALL of your private keys, public keys and addresses can be derived.

Putting your BIP39 seed mnemonic into an online service, basically compromises your entire wallet. Shocked Undecided


Quote
I search this website https://iancoleman.io/bip39/ but I could not find the answer.
That website will allow you to enter the words and get the public keys... it just isn't provided via an API etc... you have to manually enter the words into the BIP39 mnemonic box and your addresses are displayed at the bottom of the page.

It is advisable to download the page and run it "offline" to avoid compromising your seed mnemonic and wallet keys. Instructions are on the github repo: https://github.com/iancoleman/bip39#standalone-offline-version

It is a single, self-contained .html file that you can open locally and provides exactly the same functionality as the online website.

sr. member
Activity: 279
Merit: 435
February 15, 2019, 02:09:20 PM
#2
Hi,
I need a Web service that be able to change BIP39 words to other bit coin addresses.
I search this website https://iancoleman.io/bip39/ but I could not find the answer.
For example I Wana give these words "before muscle nice seek sign film west capable cube hundred wisdom lawn"to code and then have  an outcome with public key Bitcoin.
Please help me.Thanks.

Hi,

you cannot revert the generation of the words, they are taken from a fixed-length list of words. What you can do with your sentence is maybe hash it and derive a private key (known as a brain wallet) but it's not secure since humans are a poor enropy source.
newbie
Activity: 6
Merit: 0
February 15, 2019, 01:57:16 PM
#1
Hi,
I need a Web service that be able to change BIP39 words to other bit coin addresses.
I search this website https://iancoleman.io/bip39/ but I could not find the answer.
For example I Wana give these words "before muscle nice seek sign film west capable cube hundred wisdom lawn"to code and then have  an outcome with public key Bitcoin.
Please help me.Thanks.
Jump to: