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: 51.95%(-0.47%/24h)
ETH Dominance: 16.03%(-0.11%/24h)
Defi Market Cap: $108.71B(-27.80%/24h)
Total Market Cap: $2656.25B(-0.96%/24h)
Total Trading Volume 24h: $86.54B(-21.92%/24h)
ETH Market Cap: $425.03B
Defi to ETH Ratio: 25.58%
Defi Dominance: 3.91%
Altcoin Market Cap: $1276.24B
Altcoin Volume 24h: $59.92B
Total Cryptocurrencies: 28767
Active Cryptocurrencies: 9356
Active Market Pairs: 76649
Active Exchanges: 736
Total Exchanges: 8181
BTC: 70118.22$(-0.49%/1H)
ETH: 3546.28$(-0.1%/1H)
AVAX: 53.92$(0.27%/1H)
BNB: 616.59$(-0.07%/1H)
MATIC: 1$(0.21%/1H)
FTM: 1$(0.89%/1H)
ADA: 0.66$(0.67%/1H)
DOT: 9.75$(0.83%/1H)
UNI: 12.89$(0.04%/1H)
CAKE: 4.71$(-0.32%/1H)
SUSHI: 1.87$(-0.35%/1H)
ONE: 0.03$(0.43%/1H)