SmartMesh the Network Atop Every Smartphone

创世纪

一开始,男人创造了互联网。

男人看到互联网是好的。然而,在互联网上,人们并不相互信任。

然后男人创建了区块链。它可以让人们彼此不信任地工作。区块链很好,但速度很慢。

然后男人制造了闪电,雷电和等离子。他们让人们开展业务。但是,当互联网关闭时,它不起作用。

然后,人们创造了SmartMesh,SmartMesh的Spirit说,即使在没有互联网的地方,也要让所有人连接在一起。

SmartMesh网格连接互联网没有的人。男人总是连在一起。

想象一下,你生活在遭受地震或海啸袭击的地区,遭遇灾难,电网中断,手机信号塔倒塌,手机服务停止,你将如何与你的家人和朋友联系发现和救援被困在瓦砾下的人们。

再想象一下,在非洲,移动服务尚未覆盖的地方也有。人们仍然生活在互联网时代之前,没有信息获取,教育和提高生活水平的机会。可以做些什么来应对这些挑战?

答案就在你手中,手机里的SmartMesh应用程序。即使没有SIM卡,您也可以使用它安装SmartMesh附近的手机来建立网状网络。SmartMesh网格让我们找到我们的家庭,挽救生命; 让非洲村民在没有手机信号塔的情况下联系并打电话。而且,如果有一部电话通过卫星或气球连接到互联网,整个村庄就能够连接到互联网。

SmartMesh不仅在互联网不可用的时候有用,在互联网大都市具有巨大的价值。

想象一下,你正和纽约市中央公园的一位朋友散步; 您使用微信与这位朋友分享照片。当你点击这个分享按钮时,图片将被发送到中央公园附近的一个手机塔,然后数据包被发送到电信公司的数据网络,然后数据包通过北美洲大陆从东海岸到San在西海岸的弗朗西斯科或洛杉矶,通过太平洋海底光纤到东京或香港,再到一个位于上海的中国网络运营商,经过多级路由到达微信的负载均衡服务器之一,然后转发给广州中心服务器,处理消息包,然后通过太平洋海底光纤,西海岸和东海岸一路发回美国网络运营商,

这些数据包通过电缆和光纤走了数千英里,有数百个设备到达你朋友的手机,否则这两个人之间将以彼此对等的方式立即完成。所有这些用于光纤布线,维护和服务的能源和资源,电缆维护都将得到保存。它甚至可以帮助拯救我们的地球免受全球变暖的影响。

SmartMesh是一种连接智能手机而无需互联网的软件。SmartMesh嵌入了Blockchain Light Node,Raiden网络扩展协议来实现令牌的非互联网微支付。随着区块链代币的激励,SmartMesh将自我组织成一个弹性的,分散的,自我修复的网状网络,它提供了更高的近场速度和带宽,并且通常是免费的。它有可能成为一个平行于互联网的网络。

可以想象,在未来的几年里,加密货币支付的90%以上将在Lightning Network和Raiden Network上进行。通过SmartMesh Raiden网络扩展,不仅支付是通过互联网进行的,而且允许全球的近场交通以SmartMesh Mesh交付,人们在与另一个大陆远方的人们交流时只需要访问互联网。

Internet was first conceived and built in 1960s when PC and mobile phones were nowhere to be found. If the Internet was conceived today, it would have been a mobile mesh network, and it would have been cheaper, faster and much more private. In 2017, there are 7.5 billion people on our planet, and 44% of the world population own smart phones. That amounts to 3.3 billion smart phones. In the most populated metropolises such as Shanghai and Beijing, there are at least 5,500 smart phones in every square kilometer or 5.5 smart phones in every 100 square meters (Imagine a 10m*10m square). In China alone, there are 13 billion smart phones in active use, which means every 100 people of Chinese population own 95.5 smart phones.

With a penetration of that level, a worldwide mesh is not only alternative to the Internet, it is inevitable.

We envision a mesh network that will connect every corner of the world where human being reside, connect people with speed, reliability and privacy, and we intend to achieve this by building a marketplace of nodes, so sharing economy not only let you sleep on beds of strangers, ride in cars that belong to another person, but also let you connect to the world through cellphone of many other people for much less cost, while these contributors will be rewarded in crypto tokens.

Pioneers of mesh network

There are many pioneers in mesh network but obviously the mobile mesh network startups have been the front-runners. The SmartMesh Mesh Network Team is made up technologists and entrepreneurs from San Francisco-based Firechat, China-based NextApp and Australia-based Serval Project. The three startups have optimized Wi-Fi Direct, Bluetooth, Bluetooth LE, ANT and other wireless protocols and their apps for Android and iOS, and had made off-Internet communication a reality.

Each of these mesh chat app has basically done the same thing: they would let you stay in touch with other people when mobile service is not available (Image you are holding a mobile phone without a SIM card or you are holding a mobile phone with SIM card but you are in an area where service doesn’t cover). The use scenarios might vary slightly, one might focus on chat, one might on research and another on social, but together they have tens of millions level user bases as a proof of concept.

They have never scaled up to reach every smart phone of the world separately. But now we could, working together.

Vision: a global mesh network

As pioneers in mesh network, we had faced the dilemma of scalability. A global Mesh Network requires global collaborations of technologists and entrepreneurs to work together, and users need to be incentivized to share nodes, hence to increase user density to make the mesh network to be stable and accessible.

Today three leaders in mesh network decide to pursue the vision together. With progress of the Raiden Network in off-chain micro-payment and SmartMesh Raiden Extension, off-Internet high speed payment is achievable. The team of dreamers and technologists are working together to make this shared vision a reality.

We propose to build a mesh network that connects mobile phones, on which people who share their own mobile phone as nodes are rewarded in crypto tokens.

SmartMesh is a marketplace of nodes, like an Airbnb of smart phone nodes. Anyone with a smart phone can send text messages, photos, or voice to other nodes; and they are rewarded with tokens by helping transfer the data, and of course the data packets are encrypted.

To deal with daunting task like this, the biggest challenge is to transfer crypto tokens between mobile phones quickly so that people can share their nodes and get paid quickly, which was not possible on blockchain. As we all know, transaction confirmation on blockchain is too slow and too expensive to be applied on sharing mobile phone nodes.

Since inception, Bitcoin and blockchain have been plagued with its inherent technical issues, only 7 transactions can be processed per second, and every transaction need be confirmed by 6 blocks deep to be verified as effective. This level of throughput could not be regarded as a currency, by which people can use to conduct business, not to mention the ultra-high speed of micropayments between mobile phone nodes.

Fortunately, since 2015, we have the new technologies that we didn’t have, which are blockchain, crypto token, especially Lightning Network and Raiden Network as an off-chain payment accelerator.

Lightning Network proposes to achieve peer to peer micro-payment transactions off-chain with on-chain validation and settlement. The blockchain processing bottleneck is broken; issues such as latency, finality, throughput and privacy are all solved. Raiden Network is based on the same concept and built on Ethereum. Plasma expands Lightning Network to computation in addition to payment.

Hereafter is the plan to construct the SmartMesh Mesh:

Hereafter is the plan to construct the SmartMesh Mesh:

To create anincentive mechanism by which people are rewarded. This is implemented with blockchain and token.

To make token transaction fast enough, we needto build a Ethereum based Raiden Network Micropayment Raiden Network runs fast enough, butit could not work without access to the Internet. We have designed SmartMesh Extension to enable off-Internet micropayment on mobile phones; When off-Internet micropayment is ready, people can participate in SmartMesh Mesh bysharing their mobile phone nodes to co-build the global mesh network we conceive. In the following passages, we will describe with reasonable technical details about what we have done, what we are doing, where this journey lead us to, you should be able to understand whether you are of technical or non-technical background.

TECH STACK

SmartMesh Mesh Architecture

SmartMesh Mesh is a decentralized peer-to-peer distributed network that functions either Internet access is available or not.

SmartMesh embeds the Ethereum light node, which is based on the Light Ethereum Sub-protocol (LES), and is connected to the Ethereum via Geth. LES is a protocol designed for a light client such as a smart phone. It downloads only the block header instead of the entire block when the block chain is synchronized. It provides a fully secured blockchain access function, but does not participate in mining and the formation of consensus.

Decentralized Application, on the top layer, interacts with the SmartMesh contract layer through Web3.js. The user uses Wallet to store their private key, make transfer, and make query and other operations.

SmartMesh uses Swarm to implement to host personal files in shared storage space, uses Whisper to build a peer-to-peer messaging network, off-chain transactions via Lightning Network or Plasma to accelerate transaction confirmation and incentivize users to contribute storage space and network resources through checkbook contracts.

Near-field, peer-to-peer connection based on Wi-Fi, Bluetooth, ANT and other protocols, with the increase of distributed nodes, this mesh networks will be better, and ultimately becomes a world parallel network to the Internet.

We believe SmartMesh Mesh has the potential to support applications far more beyond off-Internet chat, data transmission and off-Internet payment.

SmartMesh Token

SmartMesh token, or SMT, is a contract token based on Ethereum. Ethereum is an open source, public distributed computing platform that provides a distributed Turing Complete Virtual Machine to support execution of SmartMesh contracts.

SMT is used to incentivize SmartMesh Mesh node contributors and to purchase products and services in the SmartMesh Mesh ecosystem. When users connect their SmartMesh phone nodes to the SmartMesh mesh network, they are rewarded with the SMT tokens. The longer the user stays on the network, the more SMT that they amass on the SmartMesh Blockchain.

SmartMesh Token Contract

SmartMesh Token Contract is based on the ERC20 Token standard. We implemented a number of features on SMT to support SmartMesh Mesh, of which include Signed Authorized Agent Transactions etc.

ERC20 Token Standard has won recognition in the Ethereum community. A large number of well-known Ethereum applications are in compliance with this standard and has proven the ERC20 Token Standard to be successful.

Signed Authorized Payment

The Ethereum-based SmartMesh contract consume gas to run, which is one of the precautions that Ethereum has taken for security, but gas needs to be paid in ETH, which increases the complexity of Decentralized Applications (DAPP) to mainstream users. To help these users, we have developed a Signed Authorized Payment Agent, which is to let a third party to assist a user to pay ETH to cover gas consumption.

The service fee of the third party is paid in SMT. The process requires the user to authorize by providing with a specified format signature to activate the SmartMesh contract to operate on users assets.

Minimal information required for the he user signature include the agent address, service fee and statement of asset change, which means the user, has complete control and it is as safe and sound as if the user is doing it in person.

SmartMesh Micro Payment

With progress of blockchain technologies, the PC based wallet applications are no longer good enough for users. Data on nodes are too large to be synchronized and PCs are not convenient to be carried around.

The present light wallet apps still rely on centralized services, which require the signature data to be sent to servers for the transaction data to be broadcast. If the servers are hacked, the request of service would be denied and this is potential security vulnerability. Plus, in the process of transactions, it would need confirmation of other blocks and consumes gas. This is contradictory to the very idea of decentralization and could not complete micropayment quickly.

SmartMesh App is a truly decentralized mobile node with micro-payment wallet, which uses the LES-enabled Geth node on the smart phone to verify and synchronize the block header. The Light Ethereum Sub-protocol, often referred to as LES, is a sub-protocol of Ethereum, which is designed to maintain the high security of certain instances of Ethereum on the current state in a light client (such as a smart phone).

Meanwhile, SmartMesh App has integrated Raiden Network technologies to accelerate micro-payment transactions. The Raiden Network is a state channel technology based on Ethereum, which increases the processing power of the Ethereum The basic idea, is that users can have transaction with signed messages off-chain, rather than to have all transactions to be processed on-chain.

Through PEER-TO-PEER payment and deposit on Ethereum, Raiden retains the protection mechanism that the Blockchain has provided.

Raiden network has the advantages of scalability, fast transaction, confidentiality, interoperability, low cost, micropayment-ready. It could process up to one million transactions per second. Confirmation and termination of transfer is completed within a 1 second. The cost of transaction could be as low as 1 millionth that of on-chain, which makes SmartMesh a viable micropayment solution.

SmartMesh Off-Internet Payment

Today, electronic payment without Internet remains a technological challenge, even when payment apps such as Alipay and Wechat Pay have become so popular that people living in China could hardly live one day without. Yet, in locations where Internet is either unavailable or the mobile service signal is low, none of these apps could complete a transaction without Internet access until SmartMesh. For the first time, SmartMesh makes crypto payment without Internet possible.

SmartMesh Off-Internet Micropayment is the SmartMesh Payment Protocol based on Raiden Network Extension. Users transfer signed encrypted transaction data through direct peer to peer such as Wi-Fi, aka, to allow Off-Internet payment.

Alice and Brandon establish a channel on Raiden Network through SmartMesh App; they both commit a certain amount of assets as deposits, then they are ready to make payment with SmartMesh Micro Payment.

Alice and Brandon establish off-Internet connection through SmartMesh App

Alice pays Brandon 5 tokens

Alice sends crypto transaction data to Brandon without the Internet, both sides store crypto transaction information.

When there is internet access, Alice and Brandon synchronizes the transaction information up to Raiden Network node; verify transaction settlement within the transaction verification channel.

If Alice closes the transaction channel, Alice submits a signed Update Transaction message to the blockchain contract, which will wait for the Hold Period. During which if Brandon could submit a higher Update Transaction message with a higher sequence number; the contract will confiscate all pledged assets of Alice in the channel and transfer it to Brandon. If there is no objection until wait for Brandon is timeout, the contract will complete the transfer payment and close the channel in the block chain according to the message content. Vice versa.

If Alice closes transaction channel, Alice submit a Update Transaction

Compared to Lightning Network, Raiden Network introduces a more common SmartMesh Condition than Hash Timelock Contract of Lightning Network. In the event of a dispute, the contract can be enforced by presenting the latest version of the Update Transaction message to the SmartMesh contract on blockchain, and requesting SmartMesh contract to process the SmartMesh Condition in the message. If there is no dispute, none of these will appear on Ethereum blockchain, which enhances the privacy as well as performance.

When Alice and Brandon make off-the-Internet transactions, the two sides store encrypted transaction information off-chain, which will be synchronized, verified when the Internet access is available. This guarantees security of the transactions and untamperable.

SmartMesh has integrated Ethereum Light Node, Raiden Light Node and a SmartMesh Off-Internet Extension of Raiden Network, by which a parallel global mesh network incentivized by crypto tokens will emerge and thrive.

Universal connectivity architecture

SmartMesh Mesh aim to enable a Global Mesh Network parallel to the Internet. Every SmartMeshphone is like a SmartMesh. A single spark can start a wild fire on a prairie. With the increase in Fireflies, mobile SmartMesh nodes create a network of their own; the apps would be SmartMesh enough to choose a path for each data packet, over Internet or SmartMesh Mesh.

Blockchain was on PC nodes only, and now they are making their ways to SmartMeshphones with mobile light node technologies, which allows crypto currencies trading whether access to the Internet is available or not. SmartMesh off-Internet Payment lets crypto currencies can be traded even when the Internet is off.

For the future generation of communications, the Internet and SmartMesh Mesh complement each other, SmartMesh Mesh will be carrying a large number of local traffic and it will be the most optimized universal connection.

SmartMesh Use Case

SmartMesh Mesh harness the power of the community to construct a global network parallel to the Internet, based on smart phones with peer-to-peer direct connections. The local traffic is routed to local mesh network, saving traffic and energy, creates connection between people, people and devices, devices and devices to be easier and convenient. Mesh network will be a network that will find more and more user scenarios like what Internet has done in the past three decade.

Off-Internet Communication

Humanitarian Rescue Mission

When natural disasters hit, the power grid and telecom network are often destroyed. The mobile phone is often the only electronic devices connected with a mesh network are often the only way to get connected to the outside world when the victims are waiting for rescue team.

SmartMesh Mesh will keep people connected in such catastrophes.

Social and Entertainment

No matter where you are, either on a train, a subway, a plane, camping in back-countries, attending sport events, or music performances, you may often find yourself off the grid, either because of the tower is overtaxed and there is data congestion, or there is no tower around at all. With mesh network, you can always share text and photos wherever you are. When more and more devices join the mesh, the mesh gets better and faster.

Information Sharing

In a mesh fog, everyone will have access to the Internet even when there is only one device has uplink to the Internet. Everyone will be able to share information inside the mesh.

Off-Internet Payment

移动支付平台,如支付宝和微信,在没有互联网的情况下无法使用。SmartMesh Mesh是基于SmartMesh支付的对等网状网络。每个SmartMesh设备成为一个节点,共同组成一个SmartMeshphone节点的网络,使得非互联网支付变得简单和容易。

离线游戏

在互联网的海洋中,无数的网络游戏丰富了人们的娱乐生活。如果没有网络连接,网络游戏将不复存在。SmartMesh Mesh将成为离网游戏的新载体。

%d bloggers like this: