Questions tagged [elrond]

MultiversX (previously Elrond) is a highly scalable, fast and secure blockchain platform for distributed apps, enterprise use cases and the new Internet economy. Its native currency is eGold (EGLD).

Website

At a glance

  • What

    • Sharded Smart Contracts execution platform with a PoS consensus mechanism
  • How

    • scales via Adaptive State Sharding
    • consensus via Secure Proof of Stake
  • Highlights

    • Performance:

      • 15,000 TPS (263,000 TPS in testnet)
      • $0.001 tx cost
      • 6s latency
    • xPortal money app with progressive security, social recovery, embedded DeFi

    • Developers: royalties - 30% SC gas returned to authors, full IDE, Rust framework with debugger

    • Network setup: 3,200 nodes, with 4 shards (adaptivity allows throughput to increase with demand)

What is MultiversX (previously Elrond)?

MultiversX (previously Elrond) is a distributed transactional computation protocol that relies on a sharded state architecture and a secure Proof of Stake consensus mechanism. While most other blockchain networks require custom hardware and high energy consumption, MultiversX runs on average computers.

By employing sharding, a method of parallelizing data & transaction processing, MultiversX’s performance will scale up with the number of computers joining the network, reaching more than 100.000 transactions per second while growing increasingly decentralized.

How is MultiversX different?

The MultiversX network is the first to present a viable solution where all the three aspects of sharding (state, network and transactions) have been implemented at once. Combined with its "Adaptive" component, this novel architecture allows for dynamic network configuration to maintain a high level of security while scaling with demand.

In addition to scaling through sharding, MultiversX also approaches the consensus problem with a mechanism called Secure Proof of Stake, which mitigates potential attack vectors when compared to Proof of Work, while also enabling large throughput and fast execution.

By solving some of the hardest consensus and sharding problems in the blockchain space, MultiversX is able to provide a very high level of performance on a network made of inexpensive computers, resulting in a very low cost per transaction. In addition to performance and cost, MultiversX also stands out through the quality of the developer experience and the resulting boost in usability on the end-user side.

Important achievements

  • First live blockchain architecture with state sharding
  • Mainnet launched in July 2020
  • IDE with debugger and framework for SCs
95 questions
1
vote
1 answer

How to get Smart Contract Result data?

Let's say for example we have a transaction with this Input Data and this Smart Contract Result Input data: issueNonFungible@415344@415344 Result: @ok@4153442d383661353439 It's a simple creation of a new NFT Collection. It can be seen on the…
Razvan M.
  • 407
  • 5
  • 14
1
vote
1 answer

Can’t build smart contract - error compiling elrond-wasm with erdpy build contract

When I try to build the ping-pong smart contract from here using: erdpy build contract I don't get the following expected output: INFO:projects.core:WASM file generated: output/ping-pong.wasm because of the following errors that appear in the…
1
vote
1 answer

Is there a fix/workaround for making erdJs work with Angular 12?

Angular 12 seems to have migrated to Webpack 5 and that seems to make the build using erdJs not work, at least in my case. I've managed to find a few workarounds, including installing crypto-browserify, stream-browserify and path-browserify and…
Razvan M.
  • 407
  • 5
  • 14
1
vote
1 answer

Unable to deploy Builds using v0.19.1

Any contract I successfully build that has a dependency to elrond-wasm 0.19.1 fails to deploy Is there any known issue regarding this or am I the only one facing this? Trying to build on the older 0.18.2 works but a lot of the contract code has to…
Razvan M.
  • 407
  • 5
  • 14
1
vote
4 answers

Cannot install erdpy on macOS - failed building wheel for pynacl

I'm trying to install erdpy on a macOS by following the official guide, I successfully managed to download erdpy-up and when I run it, I receive the following error: File…
Mircea
  • 187
  • 6
1
vote
1 answer

Could not install erdpy - no module named 'ledgercomm'

When I try to install erdpy, it fails with the following message: ModuleNotFoundError: No module named 'ledgercomm' CRITICAL:installer:Could not install erdpy. I follow the steps from here. Running: $ wget -O erdpy-up.py…
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
0
votes
1 answer

How do I limit the max supply of an Elrond NFT collection?

I'm currently working with the Elrond blockchain, and I've successfully registered a new NFT collection & created an NFT following the documentation example here. However, I need to limit the amount of NFTs that can be created for a specific…
Emile Haas
  • 370
  • 3
  • 14
0
votes
1 answer

Getting 500 error in MultiversX/Elrond official API

I am wondering why this endpoint sometime returns a 500 error and sometime no…
Fargerik
  • 210
  • 2
  • 6
0
votes
1 answer

ELROND: Access to read function of a smart contract

I search a way to find and interact with the view functions of a smart contract on Elrond blockchain. I have many questions: How to reverse a wasm smart contract file ? How to get the abi.json of a smart contract ? How to get the get/view functions…
Trash
  • 79
  • 4
0
votes
1 answer

How to check if a BiDiMapper contains an id or value in an optimized way?

I am iterating on all the elements so that I have a complexity O(n). fn has_item(&self, item: &Item) -> bool { return self.map_items_tokens().iter().any(|i| &i.0 == item); } How can I save gas fees?
Fargerik
  • 210
  • 2
  • 6
0
votes
1 answer

Problem fetching Smart Contract Results after issuance of SFT/NFT

As mentioned in the documentation (https://docs.elrond.com/tokens/nft-tokens/#example-flow) we must be allowed to fetch to Token Identifier but the API (endpoint https://gateway.elrond.com/transaction/*txHash*?withResults=true) does not return the…
0
votes
1 answer

transaction generation failed: invalid chain ID (ERDPY)

I'm trying to send a bulk transaction on the elrond devnet but i still have an error : I'm following this doc -> Click here to see it The script is working but he give me a log talking about an invalid chain id ->…
0
votes
1 answer

Why does an elrond rust contract require a main.rs, and why a certain function call in it?

New to elrond contracts. I am trying to figure what is the absolute minimum to get an elrond rust contract to successfully build when doing erdpy contract build. To me, the contract would only be src/lib.rs. . ├── Cargo.toml ├── meta │   ├──…
ecorrales
  • 137
  • 11
0
votes
1 answer

How do I use local elrond docker container node for local smart-contract development

I am new to elrond. I (think) successfully have local node running in docker? Both of these yield same log output in portainer: sudo docker run -d \ --name my-elrond-testnet \ -v ${PATH_TO_BLS_KEY_FILE}:/data/ \ …
ecorrales
  • 137
  • 11
0
votes
1 answer

View with MultiValueEncoded returns only one element

My view should return multiple elements, but I always got only one. I am calling my view with /vm-values/query. Should I use another gateway endpoint for the MultiValueEncoded view?
Fargerik
  • 210
  • 2
  • 6