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: 57.02%(-0.44%/24h)
ETH Dominance: 12.19%(+0.07%/24h)
Defi Market Cap: $112.73B(+8.47%/24h)
Total Market Cap: $3236.2B(-1.58%/24h)
Total Trading Volume 24h: $156.93B(+12.61%/24h)
ETH Market Cap: $394.28B
Defi to ETH Ratio: 28.59%
Defi Dominance: 3.34%
Altcoin Market Cap: $1391B
Altcoin Volume 24h: $99.23B
Total Cryptocurrencies: 32959
Active Cryptocurrencies: 10459
Active Market Pairs: 95130
Active Exchanges: 771
Total Exchanges: 9803
BTC: 93148.55$(-0.76%/1H)
ETH: 3271.86$(-0.62%/1H)
AVAX: 35.91$(0.42%/1H)
BNB: 673.57$(-0.17%/1H)
MATIC: 0.47$(-0.55%/1H)
FTM: 0.95$(-0.99%/1H)
ADA: 0.87$(-0.14%/1H)
DOT: 6.88$(0.13%/1H)
UNI: 13.5$(1.36%/1H)
CAKE: 2.35$(0.14%/1H)
SUSHI: 1.42$(0.37%/1H)
ONE: 0.03$(0.25%/1H)