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

VecMapper `extend_from_slice` - differences between testnet and devnet

I found some differences between the testnet and the devnet on how the extend_from_slice on VecMapper works. It works ok on the devnet, but the same endpoint/function in the same SC breaks on the testnet. I wonder why. Here is the function which…
juliancwirko
  • 1,282
  • 12
  • 15
1
vote
1 answer

Do smart contract needs a SFT to call esdt_local_mint

My smart contract owns the SFT HAT-a1a1a1-01. The SFT HAT-a1a1a1-02 also exists but isn't owned by the SC. When I add local quantity to the SFT with the 02 nonce through a function, my transaction fails with this error: new NFT data on sender Do I…
Fargerik
  • 210
  • 2
  • 6
1
vote
0 answers

How can the MEX's APR be requested?

I need to have the MEX's APR from https://maiar.exchange/farms : I used https://graph.maiar.exchange/graphql with the following query: query{farms{address,farmedTokenPriceUSD, farmingToken{identifier}, apr}}, but somehow I get a different value…
Andreea
  • 11
  • 2
1
vote
0 answers

Getting tx info when initiating tx and signing it

I have a bug I can't solve. const { callbackRoute, transactions, error, sessionId, onAbort, hasTransactions } = useSignTransactions(); const [, setTransactionSessionId] = useState(null); const transactionStatus =…
theodorn
  • 11
  • 1
1
vote
1 answer

Bug with rust compiler when building Elrond contract

I'm in the Elrond crowdfunding tutorial and I have this error when completing the init function. I already did erdpy contract build once when the contract was empty and it worked. But when adding a body to the init function the compiler panics. I…
1
vote
1 answer

How to decode base64 & hexadecimal response from query

The query comes as "returnData": [ "zWCLtKpUXZbkWNM9deAVPizTxXASOjX63ubdUHDN+vw=", "zWCLtKpUXZbkWNM9deAVPizTxXASOjX63ubdUHDN+vw=" ], How can I decode that string? I can see it is decodable base64 first,…
savlo
  • 13
  • 2
1
vote
3 answers

How do I generate the content from the `wasm` folder?

I'm trying to build from scratch a smart contract. I'm starting from cargo new my-contract. I wired the Elrond dependencies and now cargo run does not complain. Now when I run erdpy contract build I get FileNotFoundError: [Errno 2] No such file or…
Bogdan Oloeriu
  • 183
  • 2
  • 11
1
vote
2 answers

What is the alternative for get_esdt_balance when the address is on a different shard?

As the documentation states get_esdt_balance(address: &ManagedAddress, token_id: &TokenIdentifier, nonce: u64) -> BigUint will return the balance but it only works if the address is in the same shard as the smart contract? Is there a known…
Razvan M.
  • 407
  • 5
  • 14
1
vote
1 answer

Can you decode the response of a SC query in C#?

Is there a known way to decode the response from a SC Query into a readable object in C# ? If my contract returns a custom structure which has the TypeAbi decorator, is there a way to read that data in C# or is there another way to decode it except…
Razvan M.
  • 407
  • 5
  • 14
1
vote
1 answer

How to get the current earnings of the farms via Elrond REST API

How I could obtain the current earnings of a farm from Maiar Exchange via Elrond REST API? For example, for the LKMEX farm I want to determine the current earnings (My Earned MEX) in MEX and/or USDT since the latest harverst or 'reinvest'. Thanks!
AAA
  • 155
  • 1
  • 3
1
vote
1 answer

How to get the total staked EGLD for a given address?

The following endpoint https://api.elrond.com/accounts/{address}/stake E.g.: https://api.elrond.com/accounts/erd1hw78kxyj353x52hmmq6dzxgexynwt4m29q2uvpq6xdm90z3halvsl7cn6g/stake returns {"totalStaked":"0"} but the staked total is different than 0…
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
1
vote
1 answer

FAIL: address in "setState" "newAddresses" field should have SC format: address:the_crowdfunding_contract

I'm trying to run the below mandos test, but when running erdpy contract test, the test fails and returns the following error: FAIL: address in "setState" "newAddresses" field should have SC format: address:the_crowdfunding_contract. The test code…
mccuna
  • 471
  • 7
  • 11
1
vote
1 answer

No such file or directory: '/elrondsdk/vmtools/mandos-test'

I'm trying to run the tests for the contract from this tutorial, https://docs.elrond.com/developers/tutorials/your-first-dapp/, but I'm stumbling upon the below error when running erdpy contract test INFO:projects.core:run_tests.project:…
mccuna
  • 471
  • 7
  • 11
1
vote
0 answers

Is there any API endpoint to see the current maximum supply for EGLD?

According to Elrond Economics paper the maximum supply for EGLD is 31,415,926 (theoretical). However, this theoretical cap is actually decreased with each processed transaction and generated fees. Is there any API endpoint that returns the actual…
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
1
vote
1 answer

How many requests per seconds

We use the REST API to check the last 20 transactions for a specific user What is the max number of requests per seconds we can make using the Elrond REST API ?
Martin
  • 11
  • 2