Bitcoin Forum
June 21, 2024, 06:28:23 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Convert BIP39 to public key bitcoin by API  (Read 303 times)
matinbeigi (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile WWW
February 15, 2019, 06: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.
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
February 15, 2019, 07: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.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
February 15, 2019, 08: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.


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
BitMaxz
Legendary
*
Offline Offline

Activity: 3290
Merit: 3021


BTC price road to $80k


View Profile WWW
February 15, 2019, 10: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://bitcointalk.org/index.php?topic=2063572

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

- https://www.youtube.com/watch?v=RqyUnBb9n2o
- https://bitcointalk.org/index.php?topic=5107752.msg49651803#msg49651803
- https://bitcointalk.org/index.php?topic=2550529.0

Take note this is just samples of how to use the iancoleman BIP39 tool.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
KingZee
Sr. Member
****
Offline Offline

Activity: 924
Merit: 452


Check your coin privilege


View Profile
February 16, 2019, 02:25:11 AM
 #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..

Beep boop beep boop
matinbeigi (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile WWW
February 16, 2019, 07:50:26 AM
 #6

Thank you for all your answers
iancoleman.io nop , but i need to api or web service for convert


HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
February 16, 2019, 08: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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
danda
Full Member
***
Offline Offline

Activity: 202
Merit: 157


View Profile WWW
March 14, 2019, 04:45:22 PM
 #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.


mybitprices.info - wallet auditing   |  hd-wallet-derive - derive keys locally |  hd-wallet-addrs - find used addrs
lightning-nodes - list of LN nodes  |  coinparams - params for 300+ alts  |  jsonrpc-cli - cli jsonrpc client
subaddress-derive-xmr - monero offline wallet tool
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!