Author Topic: How-To: Use BitShares via the Interplanetary File System (IPFS)  (Read 947 times)

0 Members and 1 Guest are viewing this topic.


Offline fuzzy

Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #1 on: June 29, 2016, 05:06:11 am »
 +5%

post it to steemit too?  I would gladly upvote it :)

WhaleShares==DKP; BitShares is our Community! 
ShareBits and WhaleShares = Love :D

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12914
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #2 on: June 29, 2016, 06:52:01 am »
Can you tell me a little about how you are using IPNS to keep the hash the same when updating the wallet?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #3 on: June 29, 2016, 09:32:19 am »
+5%

post it to steemit too?  I would gladly upvote it :)

the link links to my steemit post [member=602]fuzzy[/member]

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #4 on: June 29, 2016, 09:32:58 am »
Can you tell me a little about how you are using IPNS to keep the hash the same when updating the wallet?

explained here: https://ipfs.io/ipfs/QmdPtC3T7Kcu9iJg6hYzLBWR5XCDcYMY7HV685E3kH3EcS/2015/09/15/hosting-a-website-on-ipfs/

step 4

Offline fuzzy

WhaleShares==DKP; BitShares is our Community! 
ShareBits and WhaleShares = Love :D

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #6 on: June 29, 2016, 01:15:24 pm »
► How-To

TL;DR http://localhost:8080/ipns/QmZ8mWhPY3CmmyFs9P3kPxQhqYFVKV5smbwkGBL6cVfyCQ/index.html?r=fav

oh my apologies I didn't realize the How-to was a link (sorry it was late :P)

Oh and just so you know,  http://localhost:8080/ipns/QmZ8mWhPY3CmmyFs9P3kPxQhqYFVKV5smbwkGBL6cVfyCQ/index.html?r=fav is not working. :/

mh you're right, thanks for that. worked the other day, I'll recheck

Offline karnal

  • Hero Member
  • *****
  • Posts: 1068
    • View Profile
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #7 on: June 29, 2016, 01:38:54 pm »
What's the advantage? Or is this for geek-fun purposes :)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12914
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #8 on: June 29, 2016, 02:07:54 pm »
What's the advantage? Or is this for geek-fun purposes :)
Easy to mirror and thus impossible to take down ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline karnal

  • Hero Member
  • *****
  • Posts: 1068
    • View Profile
Re: How-To: Use BitShares via the Interplanetary File System (IPFS)
« Reply #9 on: June 29, 2016, 02:18:12 pm »
What's the advantage? Or is this for geek-fun purposes :)
Easy to mirror and thus impossible to take down ..

The wallet code is easy to mirror and impossible to take down as it is already, I'd say.

What good is the wallet code if the api connection is blocked? That's fairly easy to do (if we're considering this level of threat, from that type of adversary), and fairly easy to work around as well, with the right tech skills.

Don't get me wrong, it's a cool gimmick for sure (the whole ipfs concept), but the weak spot here is the api connection, not the wallet code.

Either I grossly misunderstand ipfs, or in the end, it's your computer that's going to connect() to the api server.

Implementing proxy support on the light client (https://github.com/cryptonomex/graphene-ui/issues/857) goes further to help combat censorship and improve privacy, imo; it would also allow for api endpoints to run on onionland (already possible by transparently proxying the app through tor, but out of reach for 99% of the target users, so yeah), further improving privacy as well.

Just my 2 cents.