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: 58.37%(-1.07%/24h)
ETH Dominance: 12.04%(-0.28%/24h)
Defi Market Cap: $94.15B(+24.26%/24h)
Total Market Cap: $3351.72B(+1.79%/24h)
Total Trading Volume 24h: $223.12B(-7.39%/24h)
ETH Market Cap: $403.7B
Defi to ETH Ratio: 23.32%
Defi Dominance: 2.69%
Altcoin Market Cap: $1395.35B
Altcoin Volume 24h: $151.17B
Total Cryptocurrencies: 32376
Active Cryptocurrencies: 10177
Active Market Pairs: 90763
Active Exchanges: 762
Total Exchanges: 9612
BTC: 98874.57$(0.07%/1H)
ETH: 3350.78$(0.01%/1H)
AVAX: 43.83$(-0.35%/1H)
BNB: 649.44$(0.21%/1H)
MATIC: 0.54$(1.95%/1H)
FTM: 0.8$(2.49%/1H)
ADA: 1.09$(-1.56%/1H)
DOT: 7.53$(0.9%/1H)
UNI: 10.32$(0.69%/1H)
CAKE: 2.08$(0.75%/1H)
SUSHI: 0.92$(-0.23%/1H)
ONE: 0.02$(2.54%/1H)