Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [multiversx]

MultiversX 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). Use this tag for any questions related to MultiversX development stack along with the appropriate language/API tag.

0 votes
1 answer
128 views

Dependency missing: rust nightly - Rust not installed

I try to configure Ubuntu VM for MultiversX developers. I follow the instructions on the site, but when I try to compile a smart contract I get the bellow issue: Rust is not installed on your machine....
ROMANIA_engineer's user avatar
1 vote
1 answer
82 views

Get the profile picture set by the user on xPortal app via API

Is there a way to GET the profile picture the user has set on xPortal app via the API? The following: https://id.maiar.com/users/photos/profile/{ADDRESS} worked in the past, but after the rebranding ...
ROMANIA_engineer's user avatar
0 votes
1 answer
31 views

Invalid chain ID after passing --chain=D to mxpy

I try to deploy a contract and it works fine on Testnet, but changing --chain=D gives an invalid chain ID. Why? The sent command is this: mxpy --verbose contract deploy \ --project=${PROJECT} \ ...
ROMANIA_engineer's user avatar
0 votes
1 answer
32 views

How to encode List when deploying a smart contract through mxpy?

When using the MultiversX SDK, I can pass a list of typed values as a single Input argument to a smart contract deploy, with the method List.fromItems(arrayTypedValue). How can I encode the same List ...
ROMANIA_engineer's user avatar
0 votes
1 answer
35 views

Smart contract deploy error: the feature lang_items is internal to the compiler or standard library

I try to redeploy a MultiversX smart contract for which I haven't changed the code in a while. However, the deploy recently started to fail with this error: error: the feature `lang_items` is internal ...
ROMANIA_engineer's user avatar
0 votes
1 answer
56 views

Check if an address is a smart contract address

Is there a way to check if an address is a smart contract address? The smart contract addresses all have a sequence like q...q (E.g.: erd1qqqqqqqqqqqqqpgqhe8t5jewej70zupmh44jurgn29psua5l2jps3ntjj3), ...
ROMANIA_engineer's user avatar
0 votes
1 answer
31 views

Remove ESDTRoleBurnForAll role from collection

I created a collection and Anyone -> ESDTRoleBurnForAll role is coming by default. What does this role do and how can I remove it from the collection?
ROMANIA_engineer's user avatar
1 vote
1 answer
63 views

How to calculate pending APR rewards on delegated validators on MultiversX

Background In MultiversX users can delegate their funds to a staking provider and earn staking rewards by delegating their funds to a validator smart contract. Let's assume a user account has ...
Anastasiosyal's user avatar
1 vote
2 answers
53 views

Devnet total rounds calculation

One thing I need to do in my smart contract is to calculate the current epoch's round. The reason why I need it is that my smart contract should not do anything in the first 5-10 minutes of an epoch (...
xRabbit's user avatar
  • 31
1 vote
1 answer
26 views

Unable to send WXMEX to the whitelisted SC

I intend to call an endpoint of a contract and I found the correct Data Input params message, (used this converted to HEX): ESDTNFTTransfer@WXMEX-794dbd@8@1000000000000000000000@...
Tiberiu Dodita's user avatar
1 vote
1 answer
35 views

How to send a string to a smart contract using mxpy and shell script?

How can I send a string in arguments to a smart contract using a shell script and mxpy ? I’ve been trying to use str:“My string to send” as an argument to mxpy call but it doesn’t work I’ve also been ...
Tiberiu Dodita's user avatar
0 votes
1 answer
74 views

xExchange API: the price of a LP token is 0

I'm querying the xExchange's GraphQL API, but when I'm requesting the price of an LP token the field price is 0 (but it shouldn't). Does anyone know how to fetch the price of an LP token through this ...
Quentin's user avatar
  • 76
0 votes
0 answers
25 views

Consensus Mechanism Comparison

Hypothetically, if you had to create a way to objectively review, rate and compare consensus algorithms, what properties would you look at? What properties would you evaluate? Would you give the ...
Tiberiu Dodita's user avatar
0 votes
2 answers
94 views

Herotag script and how can a script can go over herotags and resolves them automatically to addresses

Does anyone have a script that goes over herotags and resolves them automatically to addresses? I don't want to manually enter a herotag to elrondscan.com everytime to get the address - and the ...
Tiberiu Dodita's user avatar
1 vote
1 answer
117 views

Using the MultiversX SDK for JavaScript (TypeScript), how to sign (and verify) an arbitrary message?

How to sign an arbitrary message (arbitrary sequence of bytes) using the MultiversX SDK for JavaScript / TypeScript? Then, how to verify the signature?
turdus-merula's user avatar

15 30 50 per page
1
2 3 4 5
8