CryptoCoinsInfoClub.com

Using Ethereum Whisper

Project - Setting Up A Messenger Using Whisper On A Private Ethereum Blockchain - Ethdev

Project - Setting Up A Messenger Using Whisper On A Private Ethereum Blockchain - Ethdev

Project - setting up a messenger using Whisper on a private Ethereum blockchain For a school project, we were hoping to create a private Ethereum blockchain using a couple of laptops and some Raspberry Pis. We followed a ChainSkills tutorial for setting up a private blockchain ( ) and have successfully got a node up and running and have sent fake-ETH from a laptop to a Pi over our private blockchain. We have tried to use the Whisper Chat Dapp Client ( ) to send messages between our Pi and Laptop. We have got Whisper running on one of our nodes (we have checked using the geth console), however when we navigate to the Whisper Dapp at address it comes up with an error message saying "Couldn't verify your identity, is your whisper node running?" Is anyone able to help explain why the Whisper Dapp is not recognising our Whisper node? Is the problem that the Whisper Dapp is not recognising our private blockchain? Our thoughts at the moment are:1) Send a Whisper message from the Geth console to check that it works?2) Could we then use the Geth console to listen for that message using the second account? Any help/advice anyone can provide would be massively appreciated! Equally, if anyone has any better ideas as to how we can create a messenger using Whisper then we'd really appreciate it! Continue reading >>

Whisper | Ethereum Guide

Whisper | Ethereum Guide

Whisper is a hybrid DHT/point-to-point communications system. It allows for transient publication and subscription of messages using a novel topic-based routing system. It gives exceptional levels of privacy, and can be configured to provide a privacy/efficiency tradeoff per application. Here follows a few gotchas in the present whisper API on the eth interactive console. It will be updated shortly. All API for whisper is contained in the web3.shh object. Type it in the interactive console to get a list of all functions and variables provided. Topic values are user-readable strings and as such should be given as plain text. E.g., topic "zxcv" in the console corresponds directly to the topic "zxcv". Payload should be in JSONRPC standard data representation (i.e. hexadecimal encoding). E.g., text "zxcv" must be represented as "0x847a786376". This can be done through usage of the web3.fromAscii function. The function web3.shh.request() returns the request object instead of sending it to the core (except for some complicated functions). E.g. web3.shh.post.request({topcis: ["0xC0FFEE"]}) When sending/posting a message, don't omit the ttl parameter, because default value is zero, and therefore the message will immediately expire, before being sent. The functions filter.get() and web3.shh.getMessages() should return the same messages, but in a different format. Continue reading >>

Fosdem 2018 - Whisper And Swarm Protocol For Rtc

Fosdem 2018 - Whisper And Swarm Protocol For Rtc

Decentralised, Distributed and Deniable, Communication. Whisper is the plausibly deniable routing protocol within Ethereum. We will outline its intended use cases, its advantages, topology and the uses to which it is being put today. When it comes to pear to pear and person to person communication in an untrusted network cryproeconomicly incentivised and decentralised system are a viable alternative to altruistic services like Tor or proprietary systems like whatsapp etc. The Swarm protocol (which is largely designed for the storage and dissemination of larger amounts of data) contains PSS (Postal Service over Swarm) Enable messaging between nodes that are not directly connected through IP.Allow full, partial and no disclosure of addresses of communicating nodes. ("luminosity")Asymmetric and symmetric encryption using ephemeral keys.Transparent implementation of devp2p protocols over pss.Decentralized storage of undelivered messages. (mailserver)Create a fully decentralized end-user messaging platform that's end-to-end encrypted. Status, is an ethereum light client for Android and iOS (and soon for desktop) which uses Whisper for text based chat applications. Conceived as a mobile OS for Ethereum, status now combines a messenger, a browser and a chatbot interface that can act as a chat like, command line tool. Status is a user friendly, privacy respecting, gateway for everyday smartphone users to begin consuming, routing and serving istributed Application on ethereum. In the serverless model that ethereum uses one method that distributed applications can use for machine to machine communication is ethereums Whisper protocol. Whisper may be the appropriate protocol if your use case:Needs to preserve a level of anonymity or plausible deniability for either or both messag Continue reading >>

Does The

Does The "holy Trinity" (ethereum, Swarm And Whisper) Support Multimedia Streaming? - Stack Overflow

I'd like to stream media at specific time intervals - a sort of online radio if you will. I'm currently using Icecast but would much rather a peer to peer solution. I see there's a proof of concept for streaming on the Swarm roadmap but not much context around it. It seems you answered your question already. It's on the roadmap. Rando Jan 4 '17 at 16:57 You can absolutely stream files over swarm. While the routing protocol developed for swarm is likely to be abstracted out so that it can be used for any targeted data/message transfer (from one participating ethereum node to another) and this may be adaptable to streaming directly from you to your listeners, there is a simpler solution that will work right away: The idea is that you upload your music / content ahead of time to swarm and then later release the swarm ids one at a time via a different channel, be it whisper messages or an ENS registration change. Coupled with a front-end JS app that subscribes to your feed of swarm hashes and loads the appropriate swarm content, this should make a functioning radio station even with the alpha proof-of-concept version of swarm. well as @coborsism says simple streaming is possible with swarm out of the box. The roadmap item is referring to a project still very much in research stage, that will combine efficient multicast routing and adaptive bitrate encoding (e.g, MDASH, RT(S)P) to provide live one-to-many broadcast support for swarm. A little bit more context is and mention in my devcon2 slides If your content is not live, the issue is much less problematic, broadcasting at a specific time then just requires timed release of your content's address and/or providing decrtyption keys. Both easily managed outside of swarm. Continue reading >>

Proximax, Nems Answer To Ethereums Swarm And Whisper?

Proximax, Nems Answer To Ethereums Swarm And Whisper?

By Carlos Terenzi in Cryptocurrency News Home Press Release Recently, Lon Wong announced that he was stepping aside as President of the NEM Foundation to head a new initiative, ProximaX (proximax.io), for which many claim is a paradigm shift that could well take Blockchain into the next level Blockchain 3.0. ProximaX is going to launch an ICO soon and it appears that the response has been good given the downturn in the cryptocurrency market and the stringent Know-Your-Customer (KYC) requirements accorded to new ICOs that abide by the requirements of local authorities. ProximaX is said to be located in Gibraltar, a friendly jurisdiction, but appears to be quite stringent with the level of KYC required to participate in this ICO. So, what is Proximax? According to their website, ProximaX combines blockchain, storage, streaming and an advanced consensus algorithm to enable a rich, all-in-one platform for broader cross-industry application and decentralized app development. Further, according to their whitepaper (it is a utility-rich platform and protocol in which businesses, enterprises and entrepreneurial innovators can avoid costly, failure-prone centralized architectures yet enjoy sustainable and secure service offerings. In summary, Proximax parallels what Ethereum has been doing for the past couple of years. When NEM launched their Apostille, it was meant to do what Factom could do, albeit Factom built it with a huge team. NEM boasted that Apostille could easily be built with a small team and in a short period, thus demonstrating the power of NEM as a great blockchain development platform in the process. Now, ProximaX has up the ante and built an MVP, combining the IPFS which they call it Distributed File Management System, DFMS and the NEM blockchain to provide a pl Continue reading >>

Dapps Ethereum Homestead 0.1 Documentation

Dapps Ethereum Homestead 0.1 Documentation

Swarm is a distributed storage platform and content distribution service, a native base layer service of the Ethereum web 3 stack. The primary objective of Swarm is to provide a sufficiently decentralized and redundant store of Ethereums public record, in particular to store and distribute dapp code and data as well as block chain data. From an economic point of view, it allows participants to efficiently pool their storage and bandwidth resources in order to provide the aforementioned services to all participants. From the end users perspective, Swarm is not that different from WWW, except that uploads are not to a specific server. The objective is to peer-to-peer storage and serving solution that is DDOS-resistant, zero-downtime, fault-tolerant and censorship-resistant as well as self-sustaining due to a built-in incentive system which uses peer to peer accounting and allows trading resources for payment. Swarm is designed to deeply integrate with the devp2p multiprotocol network layer of Ethereum as well as with the Ethereum blockchain for domain name resolution, service payments and content availability insurance. Continue reading >>

Whisper Ethereum/wiki Wiki Github

Whisper Ethereum/wiki Wiki Github

In a nutshell whisper is a communication protocol for DApps to communicate with each other. DApps that need to publish small amounts of information to each other and have the publication last some substantial amount of time. For example, a currency exchange DApp may use it to record an offer to sell some currency at a particular rate on an exchange. In this case, it may last anything between tens of minutes and days. The offer wouldn't be binding, merely a hint to get a potential deal started. DApps that need to signal to each other in order to ultimately collaborate on a transaction. For example, a currency exchange DApp may use it to coordinate an offer prior to creating one (or two, depending on how the exchange is structured) transactions on the exchange. DApps that need to provide non-real-time hinting or general communications between each other. E.g. a small chat-room app. DApps that need to provide dark (plausible denial over perfect network traffic analysis) comms to two correspondents that know nothing of each other but a hash. This could be a DApp for a whistleblower to communicate to a known journalist exchange some small amount of verifiable material and arrange between themselves for some other protocol (Swarm, perhaps) to handle the bulk transfer. In general, think transactions, but without the eventual archival, any necessity of being bound to what is said or automated execution & state change. Low-latency, 1-1 or 1-N signalling messages. High latency, high TTL 1-* publication messages. Messages less than 64K bytes, typically around 256 bytes. UDP: Similar in API-level, native multicasting. No TTL, security or privacy safeguards. 0MQ : A distributed messaging system, no inherent privacy safeguards. Bitmessage : Similar in the basic approach of P2P netwo Continue reading >>

Bitcoin Trading Transaction Fee Ethereum Whisper Swarm

Bitcoin Trading Transaction Fee Ethereum Whisper Swarm

Bitcoin Trading Transaction Fee Ethereum Whisper Swarm Register for Consensus today! You can also create DNS records that resolve to. The FileCoin consensus protocol mostly does away with wasteful Proof of Work and uses Proof of Replication and Proof of SpaceTime yes, really to ensure that a piece of data is replicated a certain number of times and is stored for a specific amount Genesis Mining Asic Bitcoin Cloud Mining Contract time. Roland Kofler 6, 15 In Solidity it is not possible to access files on your computer. Note you need to As an alternative you can try just this: Bitcoin Trading Transaction Fee Ethereum Whisper Swarm Does Blockchain Technology Work? You need to add '0x' to the beginning of the content hash in the setContent function. Liquidity of tokens is a relatively large problem in the crypto ecosystem. If you found that it did the opposite, let me know via a comment. The old chain was now known as Ethereum Classic while the new chain continued as Ethereum. Identities are needed for parties making transactions as well as the assets forming the basis of the transactions. In this model, privately signed messages within the Raiden network provide for a transfer of value. ETH What Happened To Bitcoin Unlimited Ethereum Volume Chart By History always maintained Buy Ripple Cryptocurrency Ethereum Pay Out position in the top 3 on coinmarketcap since It has been effectively deprecated due to the numerous critical-severity bugs found by Zeppelin. The reddit post you link to is rather old. Bitcoin Cash Currently To handle this added complexity and satisfy more ambitious use cases, additional components and networks have been proposed. Ethereum's 'Holy Trinity' Takes Shape As Swarm Testnet Arrives This core view provides the fundamental principles and interactions Continue reading >>

Our Progress On Ethpay: Encrypted Chatting Viawhisper

Our Progress On Ethpay: Encrypted Chatting Viawhisper

secure and innovative Android applications Our Progress on ethPay: encrypted chatting viaWhisper We want to give you a quick update on what weve been brewing for the last couple of weeks regarding ethPay. For those of you who do not know about ethPay, it is basically a decentralized payment framework that makes it possible to set up virtual shops to sell all sorts of intangible and tangible goods. We like the metaphor of a garage sale or a street market, only that its virtually residing on a blockchain. We introduced ethPay already in our previous article . A big issue for us was how we would design the process of post-purchase communication between merchant and customer. We wanted an integrated solution inside the app but at the same time stay as decentralized as possible, i.e. a proprietary chat server was a no go. Those of you that are familiar with the Ethereum project will know what comes next: Whisper. What exactly is Whisper? It is described as a communication protocol for dApps to communicate with each other and forms together with the Ethereum Virtual Machine and the decentralized storage system Swarm the Holy Trinity of the Ethereum World Computer. Basically, Whisper makes it possible to securely send messages between dApps and enables peer-to-peer messaging between endusers. We use Whisper so that a merchant can communicate with his customers directly through the app if he needs to and vice versa, after a purchase has been made. In the short example below you can see how the customer buys a product with ethPay together with a message for the merchant. The merchant will then see that a product from one of his shops was purchased and when he taps on the purchase the app opens the chat between him and the customer. You can try it out yourself, weve set up a sto Continue reading >>

How To Whisper Ethereum/go-ethereum Wiki Github

How To Whisper Ethereum/go-ethereum Wiki Github

Whisper is a pure identity-based messaging system. Whisper provides a low-level (non-application-specific) but easily-accessible API without being based upon or prejudiced by the low-level hardware attributes and characteristics, particularly the notion of singular endpoints. This tutorial assumes you've read p2p 101 . If you haven't read it I suggest you read it. This tutorial will guide you to setting up a full p2p server with whisper capabilities. Let's quickly cover some of whisper's basic functionality and discuss it in greater detail later. The notion of envelopes and messages in whisper is somewhat blurred. An application shouldn't ever need to know the difference between the two and should only care about the information it's interested in. Therefor whisper comes with a subscribing mechanism which allows you watch/listen for specific whisper messages (e.g., to you, with a specific topic, etc). whisper.Watch(Filter{ From: myFriendsPubKey, Fn: func(msg *whisper.Message) { /* ... */ },}) Whenever you want to send message over the whisper network you need to prove to network you've done some significant work for sealing the message (such is the cost for sending messages) and thus the more work you put in to sealing the message the higher the priority the message will have when propagating it over the network. Whisper's Proof of Work consists of a simple SHA3 algorithm in which we try to find the smallest number within a given time frame. Giving the algorithm more time will result in a smaller number which means the message has a higher priority in the network. Messages are also sealed with a Time To Live. Whisper peers will automatically flush out messages which have exceeded their time to live (with a maximum up to 2 days). Additionally messages may also contain a Continue reading >>

Ethereum's 'holy Trinity' Takes Shape As Swarm Testnet Arrives

Ethereum's 'holy Trinity' Takes Shape As Swarm Testnet Arrives

Ethereum's 'Holy Trinity' Takes Shape As Swarm Testnet Arrives Sep 19, 2016 at 10:15 UTC|UpdatedSep 19, 2016 at 18:25 UTC A big piece of ethereum's decentralized "world computer" will be launching its first public testnetin the coming weeks. With the launch of the Swarm testnet, the network will be open for any developer to test the new file storage system and identify and fix potential issues. Developers can also useany ethereum client (whether geth, parity or the python client) for their work. According to developers involved, the move that takes the project one (small) step closer to making its full vision a reality. On the Internet today, centralized servers owned by for-profit companies hold most of the world's data. But Swarm wants to shake this up by building on an old idea - file sharing. You might be familiar with BitTorrent, a similar way of file sharing over a peer-to-peer network. The problem with the network, according to the Swarm team, is that it relies on the generosity of its users, that and it's too slow to use as the base for a new web. Swarm lead developer Viktor Trn told CoinDesk: "[BitTorrent] never really caught on to the point where they can serve real-time interactive web applications." The updates were part of a talk at the ethereum developer conference Devcon2 today , entitled "Swap, Swear and Swindle. Swarm Incentivization", given by its team leads, Trn and Aron Fischer. Decentralized versions of photo albums, file managers, corporate storage platformsand GitHub are a few ambitious examples for how Swarm could come to be used. "The result would be a much more decentralized Internet, both in terms of service provision and in terms of wealth distribution," Trn said. "It's just as much a social objective as it is a technical project." So, how e Continue reading >>

Status Alpha 0.9.16 Releasenotes

Status Alpha 0.9.16 Releasenotes

Our latest release contains over 90 commits from just over two weeks work! These last few months really have been all about the #BUIDL for the Status community as we have moved over from Whisper v5 to v6 for our messaging protocol. Status developers were responsible for a number of the improvements to Whisper, continuing our work way down in the Ethereum protocols in order to improve the ecosystem for everyone. A rising tide gossips all messages more effectively. The upgrade improves messaging reliability and bandwidth usage significantly. Some of the earlier versions of Status could use up to 10GB a day if left unchecked. Making blockchains work on resource restricted devices is not an easy task, but this was clearly not something we could ship. With the upgraded Whisper v6, were down to about 100MB per day and we have our own protocol improvements that will be merged in the next release that bring those numbers down to around 17MB, which is well within our goals for a closed beta release. However, the new version is not backwards-compatible and messages sent to older clients will not be received. So, if youre wanting to chat with your friends, make sure they update their apps too so that they can see your messages while using significantly less data. Its a win-win for everyone! Importantly, we have also implemented a new, super slick onboarding flow that we think will help explain to new users what you can do with Status and why it is so important to think about using decentralized, privacy-protecting applications in an age of social media mines that exist primarily to extract data and sell it to advertisers or other campaigns. Wed love to hear your feedback on this, so give it a try and then swing by our Riot channels to let us know what you think and if there is an Continue reading >>

Whisper Message Latency And Reliability

Whisper Message Latency And Reliability

I'm working on a P2P game framework that uses Ethereum contracts and accounts for certain aspects of the system. I'm trying to evaluate whether Whisper is a good choice for some of the communication needs. I've read the docs below but it's not clear what kind of latency and reliability I can expect. Here are some of the uses I have in mind: Finding other players who are playing the same game (like the lobby in a traditional game site) and advertising that I am interested in playing also. It's okay if this process takes 5-10 seconds, and it's okay if ~10% of messages are not delivered: I'll still have a pretty good picture of who is playing what and most other players will learn of my presence also. Starting a long-lived game session, as for example when four players sit down to play Bridge. It's okay if this takes 5-10 seconds as well, but now it's important that the messages are delivered reliably, since a dropped message probably means a failure to convene the game. Ongoing play within the game, with messages for player actions and game state transitions. Here the user experience will be degraded if messages typically take more than a fraction of a second, and some kind of ack/resend logic would be needed if the delivery is unreliable. Do any or all of these use cases seem like good matches for Whisper? Continue reading >>

Whisperv2 - Godoc

Whisperv2 - Godoc

( ) Whisper combines aspects of both DHTs and datagram messaging systems (e.g. UDP).As such it may be likened and compared to both, not dissimilar to thematter/energy duality (apologies to physicists for the blatant abuse of afundamental and beautiful natural principle). Whisper is a pure identity-based messaging system. Whisper provides a low-level(non-application-specific) but easily-accessible API without being based uponor prejudiced by the low-level hardware attributes and characteristics,particularly the notion of singular endpoints. func NewTopics(data ...[] byte ) [] Topic NewTopics creates a list of topics from a list of binary data elements, byiteratively calling NewTopic on each of them. func NewTopicsFromStrings(data ... string ) [] Topic NewTopicsFromStrings creates a list of topics from a list of textual dataelements, by iteratively calling NewTopicFromString on each of them. type Envelope struct { Expiry uint32 // Whisper protocol specifies int32, really should be int64 TTL uint32 // ^^^^^^ Topics [] Topic Data [] byte Nonce uint32 // contains filtered or unexported fields} Envelope represents a clear-text data packet to transmit through the Whispernetwork. Its contents may or may not be encrypted and signed. func NewEnvelope(ttl time . Duration , topics [] Topic , msg * Message ) * Envelope NewEnvelope wraps a Whisper message with expiration and destination dataincluded into an envelope for network forwarding. func (self * Envelope ) Hash() common . Hash Hash returns the SHA3 hash of the envelope, calculating it if not yet done. func (self * Envelope ) Open(key * ecdsa . PrivateKey ) (msg * Message , err error ) Open extracts the message contained within a potentially encrypted envelope. func (self * Envelope ) Seal(pow time . Duration ) Seal closes the Continue reading >>

Whisper Parity Ethereum Documentation

Whisper Parity Ethereum Documentation

In a nutshell whisper is a communication protocol for DApps to communicate with each other. DApps that need to publish small amounts of information to each other and have the publication last some substantial amount of time. For example, a currency exchange DApp may use it to record an offer to sell some currency at a particular rate on an exchange. In this case, it may last anything between tens of minutes and days. The offer wouldnt be binding, merely a hint to get a potential deal started. DApps that need to signal to each other in order to ultimately collaborate on a transaction. For example, a currency exchange DApp may use it to coordinate an offer prior to creating one (or two, depending on how the exchange is structured) transactions on the exchange. DApps that need to provide non-real-time hinting or general communications between each other. E.g. a small chat-room app. DApps that need to provide dark (plausible denial over perfect network traffic analysis) comms to two correspondents that know nothing of each other but a hash. This could be a DApp for a whistleblower to communicate to a known journalist exchange some small amount of verifiable material and arrange between themselves for some other protocol to handle the bulk transfer. In general, think transactions, but without the eventual archival, any necessity of being bound to what is said or automated execution & state change. Low-level API only exposed to DApps, never to users. Low-bandwidth Not designed for large data transfers. Dark No reliable methods for tracing packets or Continue reading >>

More in ethereum