Orbs Network – Orbs Lambda

Published on: 04.01.2023
Orbs Network - Orbs Lambda

Orbs Network – Orbs Lambda, an event driven, serverless and decentralized cloud function, similar in concept to AWS Lambda – only decentralized.

Cloud functions are implemented in a few lines of code, deployed to the Orbs Network and then executed by the network validators. Much like AWS Lambda, there is no devops involved and no instances to worry about. Unlike AWS Lambda, the protocol is fully transparent and decentralized, providing execution guaranteed to the user community by relying on dozens of independent network validators that participate in the protocol. As Orbs Network launches – Orbs Lambda.

Code in JavaScript

Cloud functions in Orbs Lambda are written in an industry standard language – JavaScript (or TypeScript). Developers are not required to learn unfamiliar smart contract languages or operate strange toolchains – they can rely on their existing knowledge. Developers are free to utilize dozens of familiar NPM packages such as web3.js or node-fetch.

Execution Triggers

Triggers can include a scheduled time interval (similar to a cron job), on-chain events from multiple L1 blockchains (logs emitted from smart contracts or state changes) and HTTP requests.

It is a complementary solution that allows developers to enrich their business logic with actions that the smart contract sandbox is unable to do, without sacrificing decentralization.

Step by Step Overview

The development process of a new Orbs Lambda cloud function includes the following steps:

  1. Select a unique ID for your lambda function (alpha-numeric characters and dashes).
  2. Create a local git repository conforming to the appropriate project structure.
  3. Implement the logic of your cloud function in JavaScript (or TypeScript).
  4. Write a simple test suite to verify your lambda function logic locally.
  5. Deploy your lambda by creating a PR (git pull request) to the official Orbs repo on GitHub.
  6. Wait until your lambda is deployed by the system, errors and feedback will appear on the PR.
  7. Analyze execution of your lambda in production by examining the network status page.

­­

About Orbs Network

An open, decentralized and public blockchain infrastructure executed by a secure network of permissionless validators using Proof-of-Stake (PoS) consensus.

Website | Twitter

­

SOURCE: ORBS NETWORK BLOG
REQUEST AN ARTICLE
Market Stats:
BTC Dominance: 41.89%(-0.20%/24h)
ETH Dominance: 18.63%(-0.18%/24h)
Defi Market Cap: $0B(+0.02%/24h)
Total Market Cap: $1073.59B(-1.93%/24h)
Total Trading Volume 24h: $63.64B(-3.86%/24h)
ETH Market Cap: $0B
Defi to ETH Ratio: 0%
Defi Dominance: 0%
Altcoin Market Cap: $623.89B
Altcoin Volume 24h: $32.85B
Total Cryptocurrencies: 22421
Active Cryptocurrencies: 8900
Active Market Pairs: 59179
Active Exchanges: 537
Total Exchanges: 4742