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
6
votes
1 answer

How to format EGLD value send to SC/Account?

I'm trying to send an EGLD value (e.g. 1.5 EGLD) to an account/smart contract but in some cases only BigUInt type seems to be allowed. How does this value work and how should I format it correctly?
Brother Jder
  • 415
  • 2
  • 9
5
votes
1 answer

How to send EGLD value to smart contract endpoint?

I have a smart contract method that looks like this: #[payable("EGLD")] #[endpoint(myEndpoint)] fn my_endpoint(&self, #[payment_amount] payment: BigUint, some_value: u64) { ... } And I call it with 5 EGLD value in transaction along with tx…
Brother Jder
  • 415
  • 2
  • 9
5
votes
1 answer

Erdpy: Token issuance transaction fails with code: internal_issue

I try to make an ESDT token issuance transaction using the following Python code from erdpy.accounts import Account, Address from erdpy.proxy import ElrondProxy from erdpy.transactions import BunchOfTransactions from erdpy.transactions import…
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
4
votes
1 answer

Represent a Vector output in Mandos?

I am writing a mandos json test. This is my method. It returns a vector with addresses. I know with good probability this method works, I just need to test it, (I don't know how to write the test). #[storage_mapper("match_id_to_address_map")] …
Daniel Lee
  • 149
  • 3
3
votes
1 answer

Elrond mandos test elrond_wasm_debug::mandos_rs pass however erdpy contract test fail

I'm writing test cases for my NFT smart contract (SC). When I check the state of the SC after creating my NFT I'm expecting to see a variable (next_index_to_mint:u64, that's I increase by 1 every new NFT) to be updated. So I'm running the test using…
Zenocode
  • 656
  • 7
  • 19
3
votes
1 answer

Calling get_esdt_token_data for account that does not have the esdt

Considering that get_esdt_token_data(address: &ManagedAddress, token_id: &TokenIdentifier, nonce: u64) -> EsdtTokenData always returns an EsdtTokenData rather than an option. What will this object look like if the address does not own the…
Razvan M.
  • 407
  • 5
  • 14
3
votes
4 answers

Bad request when deploying smart contract

So I'm currently trying to deploy a router smart contract. I've been building it through erdpy contract build, which has been successful (I'm on rust nightly tool chain as the Smart contract needs it). And I am now trying to deploy it, but I can't…
Protocole
  • 91
  • 5
3
votes
1 answer

Retreive a struct/list of structs as views from a smart contract

I am trying to get the data of a single struct and the data of a list of this struct in view methods in a smart contract. The struct would be something like: #[derive(NestedEncode, NestedDecode, TopEncode, TopDecode, TypeAbi, Clone)] pub struct…
3
votes
1 answer

Close Extension window automatically after sending transaction

When you use the Maiar Exchange with the Chrome Extension and send a transaction, you can see that the extension window automatically closes after sending the transaction. When I implement the same behavior, the Extension window stays open and the…
Kali
  • 31
  • 1
3
votes
1 answer

Is there an API to query or subscribe to events on the Elrond blockchain?

Elrond has events that can be emitted during smart contract execution: https://docs.elrond.com/developers/developer-reference/elrond-wasm-annotations/#events How would I query for or subscribe to these events? On Ethereum, it would be possible to…
Annatar
  • 101
  • 6
3
votes
1 answer

What role does a nonce serve for an NFT issued on Elrond Network?

Here is an example for transferring an NFT in the Elrond docs: TransferTransaction { Sender: Receiver: Value: 0 GasLimit: 1000000 + length of Data field in bytes * 1500 Data:…
Annatar
  • 101
  • 6
3
votes
1 answer

How can I get the wallet address for a given herotag?

If I want to get the herotag for a given wallet address, I can simply call the following endpoint: https://api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g and I get: { …
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
3
votes
3 answers

Should I use the elrond devnet instead of the testnet for development?

I've been using the testnet lately and I encounter issues: they reset it very often and the service is down for multiple hours and sometimes have bugs. Should I use the devnet? From what I've understood it's more stable and they reset it less…
TheSmartMonkey
  • 857
  • 1
  • 7
  • 23
3
votes
1 answer

How can I run an Elrond node (validator)?

I would like to run an Elrond validator node on my machine, but I don't know how to do it, or where to start from. Can you please help me?
2
votes
0 answers

How to implement USDT to EGLD token exchange in Rust on Elrond blockchain?

I am trying to fetch price of USDT in EGLD. I am using this: https://github.com/multiversx/mx-exchange-sc/blob/main/dex/pair/src/lib.rs#L604 endpoint to fetch the price. But not sure that it is right process to do it. One community member suggested…
Neon
  • 33
  • 2
1
2 3 4 5 6 7