Author Topic: Home made HTML+js based cold storage  (Read 1608 times)

0 Members and 1 Guest are viewing this topic.

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
great +5%

来自我的 HUAWEI P7-L00 上的 Tapatalk


Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
Very coool .. +5%!

I am waiting for a public API to get data from the blockchain too .. wanted to extens brainwallet.org for BTS (see my github page)

Nice to see you already have it running .. +5%

I've made a modified version on bitaddress.org. It looks like below but it's only for my personal use and it was before bitshares-js. It can be easily made using bitshares-js as I spent quite some time to understand the rules for address things.



As bts supports bitcoin address finally, I don't think we'll need to do that any more. I'm not in favor of titan or account thing as that brings complexity.
« Last Edit: April 26, 2015, 10:29:35 am by zhangweis »
Weibo:http://weibo.com/zhangweis

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Very coool .. +5%!

I am waiting for a public API to get data from the blockchain too .. wanted to extens brainwallet.org for BTS (see my github page)

Nice to see you already have it running .. +5%

Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
Weibo:http://weibo.com/zhangweis

Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
I'm really eager to use cold storage for my BTS and BTA. I remember there's a solution to use multi-sig for cold storage but my requirement is to use chromebook for storing keys and signing tx.
So I've made 2 pages for that purpose based on bitshares-js. Currently only BTC addresses are supported for both the from address and to address. They're home made so it's not convenient and may have security issues. It's absolutely with no warrants. Use at your own risk. I have tested transferring some BTS and USD (amount < 1) between btc addresses and it works for btc address but not for BTS address. Please use with caution.
The source code can be found at https://github.com/zhangweis/bts-cold
1. Online one:
http://zero.btsjohn.com/bts-cold/createtx.html
This is to create the tx. You need to input the from BTC address and the to BTC address. You can also set the amount and BTS/USD. After that, just click "Create Trx.", a Json and hex for the tx will be generated. Copy the tx hex and go to step 2.


2. Offline one:
http://zero.btsjohn.com/bts-cold/sign.html
Paste the tx. hex, input your WIF private key and click "Sign". Wait a while and copy the generated signature hex. go back to page 1.


3. Generate signed tx.
On page 1, paste the signature hex and click "Signed Trx.". You'll signed_transaction json which you can use the cli to broadcast the tx to the network by using "network_broadcast_transaction {xxxxxxxx}"


It's really a prototype and I can see many improvements but after a whole sleepless night what I need is to rest.
Some areas to improve:
- Get balance from wallet.bitshares.org
- Some UI improvements.
- Broadcast the signed tx. using wallet.bitshares.org
Weibo:http://weibo.com/zhangweis