Cointime

Download App
iOS & Android

Building Serverless Applications — Practical Understandings in Building Web 3 Protocol Stack

Validated Individual Expert

In the long run, the crypto world will be divided into two worlds — fully centralized and fully decentralized. The former will actively embrace supervision and act as a bridge between the crypto world and the traditional world; while the latter will maintain its destructive power and continue to expand its territory in the crypto world. Those who can find the right position in these two camps will become the winners, and the losers will waste time swaying from side to side.

EthSign 3.0 Tech Stack

Decentralization is a process, or a direction. The building of community and ecosystem of a project is a gradual process. In the initial stage of project building, the project is governed by a core development team that comes up with incentive rules in order for the project to be more decentralized. On the other hand, technical architecture should be as decentralized as possible from the beginning. This will help developers to realize the technical limitations of decentralization such as low throughput and difficulty in resisting sybil attacks before too late.

EthSign 3.0 Tech Stack

Decentralization of the architecture does not mean that all applications need to build their own node network and start with P2P communication. In order to avoid useless work and reinventing things already invented, we should build a suitable Web3 protocol stack, make full use of mature infrastructure projects as functional modules, and build new functions we need (this is also the origin of our dev team’s name Buildblock).

EthSign 3.0 is an electronic signature platform. Users can sign specific documents with their own private key (wallet) or private keys generated via social media accounts such as email, mobile phone number, Twitter, etc., and record the digital signatures and related operations. They are stored on the chain together, and the signed documents will be encrypted and stored on decentralized storage networks. Based on the above functions, we divide the function modules used into three layers.

The end user interacts with the decentralized identity stored in the user’s hands. We divide this layer into two parts: private key management and identity management. The former is mainly software and hardware wallets and identity mapping protocols, which help users manage private keys and sign with private keys. Torus and Magic Formatic are identity mapping protocols specifically used for Web2 user access, which can produce public-private key pairs for users through their existing Email, Google, Facebook, Twitter and other accounts.

The identity management protocol introduces a layer of identity-to-address mapping, and users can change addresses without changing their identity. ENS, which we have integrated in EthSign 3.0, is currently the most mainstream domain naming system. It can resolve a domain name to different addresses on different chains, Email or even an image Avatar. In the near future, more and more organizations and individuals will participate in this system and use domain names as public identity signs.

On-chain and off-chain interactions, that is, the mutual access between on-chain and off-chain. This layer is very important for the user experience of deposit certification applications. The user experience of a fully decentralized application is a tremendous downgrade compared to Web 2 counterparts, for example, instant Venmo transfer vs. Bitcoin transfer with a block interval of ten minutes. This layer includes on chain to off chain and off chain to on chain data transmission. Chainlink and The Graph respectively meet the main requirements of most applications in two directions. In EthSign, data query from on-chain to off-chain is very common. After the user logs in to the dApp, under normal circumstances, the web needs to quickly scan through the entire blockchain. However, this process is not as convenient as we are used to. If you communicate directly with the node rpc, this process takes at least a few minutes and the probability of data flow interruption and error is high. We have established a close cooperation with The Graph. By establishing Subgraphs on different chains, we can complete the above process in a few seconds. Another scenario for moving on-chain information to off-chain is notification push. For example, Alice designates Bob as a signatory on chain, but Bob has no knowledge in the real world. So the need for an information push service to send relevant events through SMS or email in time Push to related parties becomes obvious. EPNS, a portfolio company of Edge and Node (The Graph’s venture) is another solution. The newly launched Chainlink 2.0 further expanded the specific use cases of Oracle, key components of the Keeper Network will be launched soon. EthSign’s new feature Smart Agreement is currently using Chainlink Keeper on the Kovan testnet to monitor specific events and automatically trigger contract execution.

Decentralized network is the cornerstone of Web3 applications. Unlike DeFi projects, most Web 3 projects will use smart contract and storage blockchains at the same time. A large amount of Metadata needs to be stored in the storage network, and then the index is stored back into the smart contract. In term of smart contract platforms, the multi-chain Ethereum system has basically taken shape, and the EVM-compatible blockchains are also working hard to be compatible with Metamask, The Graph, Chainlink and other supporting facilities; Different chains naturally form different shards in the multi-chain Ethereum ecosystem, EthSign deploys its smart contracts on all EVM-compatible blockchains without distinction to increase more user coverage. The EVM ecosystem contains the largest number of smart contract templates, function libraries, and various ecological projects. The composability gives us full imagination: Superfluid’s streaming payment or Ampleforth’s Rebase, innovations that can only occur on chain will be connected to the real world via EthSign! In terms of storage networks, IPFS occupies a dominant position in Crypto Art, Metaverse and other scenarios with a large amount of Metadata storage requirements. The related infrastructure is the most, but there is still a lack of a good incentive layer to ensure stable storage of files. Filecoin has a large number of nodes, but it only provides storage for a period of time, and cannot meet the needs for “permanent storage” on chain. The permanent storage feature provided by Arweave has gradually received the favor of many projects, but how to decentralize and interoperate between the smart contract blockchain and the storage blockchain still requires more organization, and this field is developing rapidly. EthSign is using IPFS and Arweave at the same time. Arweave’s node plug-in will allow a file to be stored on two networks at the same time, on one hand to facilitate retrieval on IPFS, on the other hand to provide persistence through Arweave. All protocols and off-chain data on EthSign will be stored in these two networks by default, and we will also access Filecoin and Skynet to provide users with more choices.

Arweave + IPFS bridge

Web3 applications are coming

EthSign 3.0 is built on the above-mentioned flexible and practical technology stack. EthSign 3.0 is completely serverless, therefore, the operation and maintenance cost of the project will not increase as the number of users increases. On the other hand, since business logic and data are not stored on the server, developers need to adapt to this new framework of web 3 dapp development. On Ethereum, new smart contracts cannot cover old contracts, developers practically deploy the new version in parallel with the old version. When a user uses a new version to retrieve an agreement that has been interacted with in the past, applications must ensure that the front end of the new version will also index the data stored in the previous contract. EthSign 3.0 uses an upgradeable smart contract, allowing developers to simply upgrade the contract logic while retaining user data. This feature is essential to any officially released product — user data must not be lost if it is not the last resort. As such, Web 3 application development is a topic that has not yet been fully discussed. As the infrastructure matures, the market’s attention will soon be cast into this field.

Comments

All Comments

Recommended for you

  • Crypto trading ecosystem LazyBear completes strategic financing of 4 million USDT

    The cryptocurrency trading ecosystem LazyBear announced the completion of a strategic financing of 4 million USDT, with participation from Gogeko Labs, DWF Labs, Shadow Labs, Salad Labs, Bees Network, REI Network, IBIT, Crypto Bullish, SYNBO Protocol, Bazaars, Sypool, Bitcoin Gbox, GemX Crypto, Wikibit, and others. It is reported that LazyBear is a cryptocurrency trading ecosystem for retail traders, committed to providing users with an industry-leading, low-fee, inclusive, and enjoyable trading experience.

  • Tether Invests $200M in Majority Stake of Brain-Computer Interface Company Blackrock Neurotech

    Tether's venture capital division, Tether Evo, has invested $200 million to acquire a majority stake in Blackrock Neurotech, a company that develops medical devices powered by brain signals to aid those impacted by paralysis and neurological disorders. The investment will fund the roll-out and commercialization of the devices and research and development purposes. Tether, the issuer of stablecoin USDT, has recently established four divisions to expand beyond stablecoin issuance and believes in nurturing emerging technologies with transformative capabilities. Paolo Ardoino, CEO of Tether, stated that Blackrock Neurotech's brain-computer-interfaces have the potential to open new realms of communication, rehabilitation, and cognitive enhancement.

  • Turnkey Raises $15M Series A Funding to Expand Wallet Infrastructure for Crypto Developers

    New York-based Turnkey has secured $15m in Series A funding led by Lightspeed Faction and Galaxy Ventures, with participation from Sequoia, Coinbase Ventures, Alchemy, Figment Capital, and Mirana Ventures. The company, founded by the team behind Coinbase Custody, offers a wallet infrastructure that enables developers to build anything that involves a wallet or cryptographic transaction. Turnkey plans to use the funds to expand operations and development efforts, and has already integrated with companies including Alchemy, Dynamic, Goldfinch, Halliday, Thunder Terminal, and Kinto. The product suite offers embedded and smart wallet services, biometric passkey logins, and seamless onboarding experiences for users.

  • Thai regulator to crack down on deceptive cryptocurrency ads

    Cryptocurrency advertisements that contain false, exaggerated, distorted, concealed, or misleading information violate Thai regulations. Regulatory agencies in major cryptocurrency markets have also taken similar measures to minimize investment losses in cryptocurrencies. For example, the UK Financial Conduct Authority (FCA) issued 450 illegal cryptocurrency advertising alerts in 2023 alone. In addition, in November 2023, the Spanish National Securities Market Commission, the main securities market regulatory agency, condemned fraudulent cryptocurrency asset promotion activities on X and reiterated the company's obligation to comply with local laws. The Thai Securities and Exchange Commission reminded cryptocurrency exchanges to include appropriate warnings about investment risks and to avoid attracting new users through special promotions. He warned that violating the above guidelines would result in "legal punishment".

  • Russia to impose cryptocurrency restrictions, exempting miners and central bank projects

    Russia will implement cryptocurrency restrictions, exempting miners and central bank projects. Starting from September 1st, Russia will impose strict restrictions on the circulation of cryptocurrencies such as Bitcoin, only allowing the issuance of digital financial assets within its jurisdiction. Anatoly Aksakov, Chairman of the Financial Market Committee of the State Duma, led this initiative. This is part of a wider government effort to control the cryptocurrency ecosystem in the face of escalating geopolitical tensions. Aksakov stated that the upcoming legislation aims to restrict non-Russian cryptocurrency transactions to strengthen the dominance of the ruble. Meanwhile, recent reports indicate that Russian entities have used cryptocurrencies, particularly Tether's USDT, to purchase key components for military technology.

  • Ethereum stablecoin transaction volume exceeds $1 trillion so far in April, setting a new record

    On April 29th, The Block data shows that as of April 28th, the trading volume of stablecoins on the Ethereum blockchain reached a record high of $1.08 trillion in April, with DAI trading volume ranking first at $578.07 billion, followed by USDC at $268.15 billion in second place, and USDT at $198.62 billion in third place.

  • Shenyu: Up to one billion users' cloud input methods may have leaked input content. Please take immediate measures to reduce the risk.

    On April 29th, Cobo co-founder and CEO Shen Yu wrote on X platform that the cloud input method used by up to one billion users may have leaked input content. If you have entered mnemonic words or other sensitive information through any of the following cloud input methods, please take immediate measures to reduce the risk.

  • EU member states prepare to enforce landmark crypto law, MiCA

    The European Union is set to enforce MiCA, a crypto law that mandates national regulators to license and supervise service providers. While the regulation is EU-wide, countries can implement slightly different technical standards that crypto firms must adhere to. MiCA's specialized rules for stablecoin issuers will take effect in a few months, followed by licensing and other requirements for crypto firms broadly in December. Each jurisdiction must transpose the EU regulation into local law, select which of their regulators will oversee crypto, and prepare to authorize token issuers and other service providers. Regulators are facing challenges in implementing the new legislation, particularly in terms of licensing requirements, and each country's crypto industry has its own concerns about implementation and proposed laws.

  • The total open interest of BTC contracts on the entire network dropped to $29.83 billion

    According to Coinglass data, the total open position of BTC futures contracts on the entire network is 478,180 BTC, equivalent to 29.83 billion US dollars.

  • An independent Bitcoin miner obtained the entire 3.125 BTC block reward by verifying block 841,286

    On April 29th, independent mining pool ckpool's software engineer and administrator Con Kolivas posted on social media that a miner had mined the 282nd independent block in Bitcoin history. The miner's computing power at the time was about 120PH, which is equivalent to about 0.12 EH, with an average of about 12 PH per week, accounting for about 0.02% of the total network hash rate.