Bitcoin Forum
May 03, 2024, 10:24:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: The Simplest Bitcoin Wallet  (Read 5140 times)
nightrider
Sr. Member
****
Offline Offline

Activity: 348
Merit: 252



View Profile
August 13, 2017, 12:41:59 PM
 #21

Online Bitcoin wallets often have one or two annoying idiosyncrasies, like demanding mandatory 2-FA, and there's nothing you can do about it.

It's also not clear what information they collect. Besides, sometimes you just need a simple wallet.

So I made The Simplest Bitcoin Wallet Smiley

https://simcoin.info/tsbw/

Mostly for myself, but maybe somebody will find it useful too. Main discussion is here.

Please help test it, if you have a spare minute.

If you like it, send some love here: 13nwZVh9RsKuZGegVn5KWHM51dA98Mho5f.

----

The code is based on coinb.in: I removed 3/4 of it, fixed a few bugs and rewrote the rest. It is now easier to read and verify.

It's also a good start if you are interested to learn about Bitcoin and JS wallets since it's a lot simpler than the original.

Usage example:
Code:
var tx = btc.new_tx();

tx.add_input ('01020304abcdef', 0, '76a9141d8f0476ea05d9459e004fd0ff10588dd3979e6788ac'); // txid, no, script
tx.add_output('13nwZVh9RsKuZGegVn5KWHM51dA98Mho5f', 1234); // address, amount

var keys = btc.get_keys('123'); // 123 = passphrase

var signed = tx.sign(keys);

console.log(signed);

Nothing is sent to my server, everything is done in the browser. It gets utxo and sends signed txs via external API's.

All API access is wrapped in a "backend" object, which can be easily swapped. I wrote two: for blochchain.info and blockexplorer.com.

You can enter a compressed WIF key as your passphrase; this means you can use the same wallets you have at https://coinb.in or any other wallet that allows exporting in this format.



What do you think about 2FA? It's silly to think that it's a nuisance. First of all, the web wallet supports you, it will help you facilitate the execution of the transaction, you can do it anywhere. And 2FA is just a way to ensure the safety of your money.



  MOCKTAIL  -  THE  FIRST  SEMI-FUNGIBLE  TOKEN  ON  BSE 
        WEBSITE        WHITEPAPER        SMART CONTRACT        TWITTER        FACEBOOK        TELEGRAM        ANN


1714775097
Hero Member
*
Offline Offline

Posts: 1714775097

View Profile Personal Message (Offline)

Ignore
1714775097
Reply with quote  #2

1714775097
Report to moderator
1714775097
Hero Member
*
Offline Offline

Posts: 1714775097

View Profile Personal Message (Offline)

Ignore
1714775097
Reply with quote  #2

1714775097
Report to moderator
1714775097
Hero Member
*
Offline Offline

Posts: 1714775097

View Profile Personal Message (Offline)

Ignore
1714775097
Reply with quote  #2

1714775097
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714775097
Hero Member
*
Offline Offline

Posts: 1714775097

View Profile Personal Message (Offline)

Ignore
1714775097
Reply with quote  #2

1714775097
Report to moderator
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 15, 2017, 07:51:34 AM
 #22

What do you think about 2FA? It's silly to think that it's a nuisance. First of all, the web wallet supports you, it will help you facilitate the execution of the transaction, you can do it anywhere. And 2FA is just a way to ensure the safety of your money.

https://simtalk.org:444/index.php?topic=190.0

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
momochang
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
August 15, 2017, 09:58:23 AM
 #23


I'm also waiting for your answers regarding his question. Prove your web wallet is a legit one.
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 15, 2017, 03:38:56 PM
 #24

https://cashexplorer.bitcoin.com/ seems to be down at the moment, so HTTPS version of Bitcoin Cash wallet is not working.

As a backup, HTTP version will continue to be hosted here: http://simcoin.info/tsbw/bcc/ - it works via blockdozer.com

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
GetFreeCoins
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
August 15, 2017, 10:33:43 PM
 #25

I see that your project is always about making crptocurrency things more simple than it usually be. Maybe you should call your project "The Simple Project" Grin

more simple - more popular, isnt?
it is good way to popularization)
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 15, 2017, 10:52:31 PM
 #26

I see that your project is always about making crptocurrency things more simple than it usually be. Maybe you should call your project "The Simple Project" Grin

more simple - more popular, isnt?
it is good way to popularization)

I am a big fan of simplicity, yes Smiley

Simple things tend to be popular because people have to spend less time and mental effort.

And simple code tends to be more secure and reliable.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
sabbathhawk
Full Member
***
Offline Offline

Activity: 266
Merit: 106


View Profile WWW
August 16, 2017, 11:41:17 AM
 #27

good job, nice to see people invest so much time and efforts to infrastructure of bitcoin. it helps a lot for wider adoption. thank you!

▐▐   ▬▬▬▬▬   DeepOnion   ▬▬▬▬▬   ▌▌
████    40 PUBLIC AIRDROPS COMPLETED    TOR INTEGRATED    ████
▬▬▬▬   (✔) DeepVault Blockchain File Signatures  •  VoteCentral Your Vote Counts  •  deeponion.org   ▬▬▬▬
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 16, 2017, 11:55:22 AM
 #28

good job, nice to see people invest so much time and efforts to infrastructure of bitcoin. it helps a lot for wider adoption. thank you!

Thank you for your kind words.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
Qunenin
Hero Member
*****
Offline Offline

Activity: 966
Merit: 506


View Profile
August 16, 2017, 05:00:36 PM
 #29

So basically what you're looking for people to do, is to allow your website to create their private and public key pair. That information could easily be stored by you, in fact depending on the use of the wallet it would almost be expected. So with pretty much no business background that the public sees, you are expecting them to trust you with access to every single wallet that your site creates?

.
.1xBit.com.
███████████████
█████████████▀
█████▀▀       
███▀ ▄███     ▄
██▄▄████▌    ▄█
████████       
████████▌     
█████████    ▐█
██████████   ▐█
███████▀▀   ▄██
███▀   ▄▄▄█████
███ ▄██████████
███████████████
███████████████
███████████████
███████████████
███████████████
███████████████
███████████▀▀▀█
██████████     
███████████▄▄▄█
███████████████
███████████████
███████████████
███████████████
███████████████
         ▄█████
        ▄██████
       ▄███████
      ▄████████
     ▄█████████
    ▄███████
   ▄███████████
  ▄████████████
 ▄█████████████
▄██████████████
  ▀▀███████████
      ▀▀███
████
          ▀▀
          ▄▄██▌
      ▄▄███████
     █████████▀

 ▄██▄▄▀▀██▀▀
▄██████     ▄▄▄
███████   ▄█▄ ▄
▀██████   █  ▀█
 ▀▀▀
    ▀▄▄█▀
▄▄█████▄    ▀▀▀
 ▀████████
   ▀█████▀ ████
      ▀▀▀ █████
          █████
       ▄  █▄▄ █ ▄
     ▀▄██▀▀▀▀▀▀▀▀
      ▀ ▄▄█████▄█▄▄
    ▄ ▄███▀    ▀▀ ▀▀▄
  ▄██▄███▄ ▀▀▀▀▄  ▄▄
  ▄████████▄▄▄▄▄█▄▄▄██
 ████████████▀▀    █ ▐█
██████████████▄ ▄▄▀██▄██
 ▐██████████████    ▄███
  ████▀████████████▄███▀
  ▀█▀  ▐█████████████▀
       ▐████████████▀
       ▀█████▀▀▀ █▀
!
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 16, 2017, 05:12:16 PM
 #30

That information could easily be stored by you, in fact depending on the use of the wallet it would almost be expected.

Why would you expect that? No, it is not easy to store it as the client sends zero information to my site.

The whole point of deriving keys and signing the tx in JS is so the keys never leave your browser.

If you are extra paranoid, you can run it from your local machine. The wallet is open-source and much simpler than coinb.in, you can verify everything even if you are not an expert.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 17, 2017, 09:04:51 AM
 #31

About smaragda and his lies:

https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 21, 2017, 10:52:07 AM
 #32

Both BTC and BCC versions now support uncompressed private keys (those that start with 5).

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 21, 2017, 02:34:07 PM
 #33

The Simplest Bitcoin Wallet got its own domain:

https://tsbw.io

Also I'm using Let's Encrypt for the first time, so let me know if there are any issues with HTTPS connection.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
NxtChg (OP)
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
August 25, 2017, 10:31:37 AM
 #34

Fees are now displayed in the wallet (if not, clear browser's cache and refresh the page).

For BTC the fee is set to 0.0009 and it might still not be enough Sad

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
raymart0720
Full Member
***
Offline Offline

Activity: 322
Merit: 106


View Profile
August 25, 2017, 01:25:58 PM
 #35

safety and security is the first thing comes in my mind
simple codes for a wallet is more phrone to attackers...
system should be in critical algorithms and special codes server for them to run perfect and not to cause any malfunction
any problems can result in youir wallet to report and close down..
I've see a lot of sites been shut down because of like these Smiley
maeusi
Sr. Member
****
Offline Offline

Activity: 462
Merit: 254


View Profile
August 26, 2017, 09:25:27 PM
 #36

The wallet is really simple to use. But can we trust the wallet? I will try with a little amount because I like it simple.
nightrider
Sr. Member
****
Offline Offline

Activity: 348
Merit: 252



View Profile
August 27, 2017, 03:35:40 AM
 #37

Fees are now displayed in the wallet (if not, clear browser's cache and refresh the page).

For BTC the fee is set to 0.0009 and it might still not be enough Sad

It seems that 0.0009 btc is still a small fee in btc, however, with the current bitcoin value, we are paying a high fee for each transaction. Too expensive if using bitcoin for small transactions.



  MOCKTAIL  -  THE  FIRST  SEMI-FUNGIBLE  TOKEN  ON  BSE 
        WEBSITE        WHITEPAPER        SMART CONTRACT        TWITTER        FACEBOOK        TELEGRAM        ANN


Pages: « 1 [2]  All
  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!