Skip to main content

Questions tagged [staking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

I think I am been scammed and need help [duplicate]

I invested some money through the website haloporeth.xyz. After completing a 60-day staking period, they sent me instructions to unstake my earnings. However, they are asking for additional funds, and ...
Romane's user avatar
  • 1
0 votes
0 answers
11 views

What is a reasonable time for the EL to import a block?

I've got two EL's running geth, one has an X86 cpu the other ARM. The ARM is taking about 2x longer than the X86 machine, 400ms vs 200ms respectively. What is a reasonable time to import one block?
Wink Saville's user avatar
0 votes
0 answers
12 views

What is the purpose of notfiyRewardAmount for staking contract?

Video from 7:40 doesn't explain clearly on how notfiyRewardAmount: https://www.youtube.com/watch?v=OJ-IRzCYSXI Why do we need the owner to call it? Doesn't that contract already holds the amount of ...
anonauditor's user avatar
0 votes
0 answers
12 views

What can be the name of tokens which traps investors in a high APY staking program? (by offering them a high APY)

I called it myself a STAKING TRAP, because i didn't find any term for this type of scam. now maybe you ask yourself what i mean exactly by a STAKING TRAP? it is RUG PULL method by offering victims a ...
Morty's user avatar
  • 3
0 votes
0 answers
27 views

Cannot get Estimate Gas for ETH contract address

Is there any way to get estimate gas for Contract Address ETH? I tried to execute eth_estimateGas methods using NowNodes and QuickNode, but both responds with: { "jsonrpc": "2.0&...
Arkadi's user avatar
  • 101
0 votes
0 answers
11 views

What are interesting use cases for consensus clients outside of staking?

Consensus clients seem to struggle to have more use cases outside of staking and want to discuss how we can develop new and different uses cases for consensus clients.
AAMCODE's user avatar
  • 133
0 votes
1 answer
31 views

Very High gas fee in my staking contract

I am trying to implement my staking contract, for some reason calling stake() or claimRewards() costs 2MATIC ~ 4MATIC. I know my code is kind of complex since I loop and use data structures but still ...
Mohamed Wael's user avatar
1 vote
1 answer
81 views

Metamask computing real rewards of Lido

How does Metamask calculate the rewards on a LIDO wallet? After depositing some ETH, the user receives an amount on stETH as a blockchain transaction. After this, LIDO assign daily rewards for users, ...
Suzana Maranhão Moreno's user avatar
1 vote
0 answers
49 views

How to retrieve a validator Fields and Index from the Beacon Chain?

I'm working on a stacking / restacking project where I need to call that function: function verifyWithdrawalCredentials( uint64 oracleTimestamp, BeaconChainProofs.StateRootProof calldata ...
ASANSON's user avatar
  • 11
0 votes
0 answers
44 views

How to make a smart contract/ a third party pay for transaction fees?

I'm trying to create a LiquidStacking smart contract where it would be possible to deposit any amount of ETH. Every time the smart contract's balance reach 32 ETH, it creates a BeaconChainDepositor ...
ASANSON's user avatar
  • 11
0 votes
0 answers
23 views

Does removing liquidity from a staked pancakeswap lp unstake it?

If I remove all the liquidity from a PancakeSwap V3 LP, I know it also collect the fees earned. But if that LP is staked in a farm, will removing the liquidity automatically unstake it and harvest the ...
sharip's user avatar
  • 1
1 vote
1 answer
25 views

How to query balance and lock duration of staked tokens across multiple protocols

I would like to query the stake/LP balances across multiple defi protocols for a given account address. debank.com does something similar and can show the LP balance for a DEX, the stake balance and ...
degen872's user avatar
0 votes
0 answers
40 views

Can my ETH be frozen by Metamask's Validator Staking Contract?

Does MetaMask have the power to freeze my assets? I'm not an expert but Validator Staking looks to me like a contract interacting with the beacon chain contract. Does me investing/interacting into ...
user23507422's user avatar
0 votes
0 answers
33 views

Dividend paying with Erc20Votes

I want to implement dividends in my platform working with an erc20votes token from Openzeppelin. The platform works with holders delegating their balance as votes to a representative. The elected ...
wolf dun's user avatar
2 votes
1 answer
112 views

Regenerating validation keys with ethereum staking

I am not in this situation but I want to understand what happens if: I have generated Ethereum validation keys. I have transferred this validations keys to a server (validation node), without keeping ...
Bob5421's user avatar
  • 1,497
0 votes
1 answer
34 views

Possible to update validator keys for ETH on Allnodes?

i used https://github.com/ethereum/staking-deposit-cli to generate validator keys. i realized i wasnt offline when i generated them.My validator node on Allnodes is still pending. Just for peace of ...
jasan's user avatar
  • 111
0 votes
1 answer
157 views

What is "GENESIS_FORK_VERSION", "GENESIS_VALIDATORS_ROOT"?

When we make a deposit_data, we use staking-deposit-cli. There's option called "--chain" that we can choose a network like mainnet, goerli, prater, sepolia, zhejiang, holesky~ not the ...
Beginner-K's user avatar
0 votes
1 answer
150 views

How to add validator to private network

I made a PoS private testnet with 2 machine(node) at the moment. But I can't find any reference for staking, adding validators. I saw some questions:How to use prysm add validator for private network, ...
Beginner-K's user avatar
0 votes
0 answers
8 views

Ethereum Staking node without having to synchronize the entire blockchain

I'm trying to set up an Ethereum staking node on the Goerli testnet. My goal is to understand how it works. Is it possible to avoid downloading the entire Ethereum blockchain to set up a staking node? ...
Bob5421's user avatar
  • 1,497
0 votes
0 answers
38 views

How to perform a beacon deposit for a new validator in a Custom Testnet?

I am trying to add a validator to an already running testnet How can i make a beacon deposit, to allow that validator to start staking / validating blocks on the same testnet ? Help appreciated!
Muhammad Yasir's user avatar
1 vote
1 answer
91 views

SNX's Staking rewards contract

Could someone explain to me like I'm 5 the purpose of the notifyRewardAmount() function on the Synthetix's StakingRewards contract please? I think it's connected to modifying the rewards campaign's ...
dNyrM's user avatar
  • 938
0 votes
0 answers
321 views

Does the boosted staking feature of Coinbase One apply to Ethereum?

Coinbase sells the Coinbase One service which costs $30 / month. This provides 'boosted' staking which "reduc[es] the commission that Coinbase takes from the relevant protocol payout." The &...
Brian Schack's user avatar
0 votes
0 answers
46 views

How can I distribute rewards to stakers proportionally?

I am creating a smart contract where users can stake tokens and a reward is distributed proportional to the amounts users have staked. I can use simple division to keep track of the reward when the ...
vrwim's user avatar
  • 198
1 vote
1 answer
26 views

What are the risks in staking through my MM address?

Long story short my MM address is eligible for the Chainlink staking program that would lock my tokens into a smart contract on Ethereum for 1 year. The concern I'm having is, because the address has ...
BornOfZalmoxis's user avatar
2 votes
1 answer
48 views

Used Goerli instead of mainnet launchpad

i accidentally used the goerli.launchpad webpage instead of mainlaunchpad page to generate keys and stake. it looks like the validator was still created. does it make a difference if the keys were ...
bradleystir9's user avatar
0 votes
0 answers
37 views

Trezor Support for Staked Ethereum Withdrawals?

Trezor Firmware: v2.6 Trezor App: updated 2023-09-18 Since automatic withdrawals started for staked ethereum, I can see on beaconcha.in that they're being credited to my address which is managed by a ...
Brian White's user avatar
1 vote
1 answer
68 views

Two people calling this function at exactly the same time

I was looking at Rocket Pool's docs on interacting with other contracts and they included a simple example function that another protocol could use to accept deposits of ETH, forward it to RP, and get ...
auditor_chick's user avatar
1 vote
0 answers
28 views

Query total rewards per validator

Sites like beaconcha.in are listing the total rewards per validator (split into EL and CL values). How can I query this information on-chain using something like ethers.js or maybe ethdo?
no1dea's user avatar
  • 88
0 votes
2 answers
69 views

Hey is that ETH.Capitalseo.com is part of Stalking process of ETH organizations [duplicate]

I been investing Capitalseo.com where they say it's part of ETH organization. Please tell me they are real or scams. I invested so far 118k NZ dollar and they asking me more deposit into my wallet for ...
Honey's user avatar
  • 1
2 votes
1 answer
478 views

Best practices for staking contract which redistributes variable stablecoin input (cash flow)

I need to develop an Staking contract which allows users to: Stake their tokens Claim rewards Unstake their tokens (no more rewards afterwards) I have been researching about different examples like ...
Alexander Herranz's user avatar
0 votes
1 answer
323 views

BASE_REWARD Formula Enquiry

Reading about Ethereum 2.0, I note the formula for the BASE_REWARD, which is "the base unit that other rewards are calculated from" is given as following: base_reward = effective_balance * ...
Peter's user avatar
  • 311
0 votes
1 answer
47 views

I need 1000 Ethereum wallets for load testing of my project, is there a way i can get that?

I have to test out the functionality of auto reinvest in my smart contract in staking, therefore I need about 1000 Ethereum wallets to test out my code! Please help me out here if there is any ...
Talha Sajid Chaudhary's user avatar
2 votes
0 answers
137 views

How to query the ethereum network to get Validator status, balance and validator reward history

Is there a way to query the ethereum network with a json rpc call to get the current balance, the status and the reward history of a validator? thanks very much!
mazi's user avatar
  • 21
1 vote
2 answers
62 views

Ways to earn ETH passive income

I have a decent amount of ETH in my cold wallet (<32 ETH). These bag of ETH is my HODL bag, meaning that I don't want to spend it and I am planning to hold it for the next 10-20 years. What are my ...
Chunior's user avatar
  • 11
0 votes
1 answer
78 views

Trying to Create a Staking Smart Contract, but when I call the Mine function from ERC20 contract. The transaction Reverts

I am writing the below code for a staking smart contract. pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; interface Token { function transfer(address _To, ...
Pratik Jussal's user avatar
1 vote
0 answers
29 views

why does the staking.sol contract have permissions on the notifyReward function?

In both this example and this example the notifyReward function has a modifier that only allows the owner to distribute rewards. function notifyRewardAmount( uint _amount ) external ...
Dylan Kerler's user avatar
1 vote
1 answer
48 views

How to fetch Lido current Staking APR

I am building a project in which I need Lido current APR to show in the frontend. Is there any API from them that can provide me their current APR? I am not able to find such API in their docs.
Rishabh Raghwendra's user avatar
1 vote
0 answers
37 views

Can a single set of validator keys for staking be signed with multiple Ethereum accounts?

I am setting up solo staking on Sepolia with a local Nimbus client. I want to test a setup where my eth funds are spread out across two ledger devices. Can I generate a single set of validator keys ...
tezette's user avatar
  • 13
0 votes
1 answer
2k views

How to get enough Sepolia eth to test staking?

The Sepolia faucets prescribed here dispense a limited amount of eth each day. However, in order to test solo staking, one needs a non-trivial amount of eth. What is the most efficient way to procure ...
tezette's user avatar
  • 13
3 votes
1 answer
1k views

How to add new validators on ethereum private network?

I am trying to setup a local devnet in my computer by using geth and prysm using https://docs.prylabs.network/docs/advanced/proof-of-stake-devnet. I can able to setup network with three execution ...
user_go's user avatar
  • 31
3 votes
2 answers
647 views

What happens when a validator's withdrawal address is a smart contract with a fallback function?

Ethereum validators set a withdrawal address to automatically receive their staking rewards. These rewards are distributed gas free at the protocol level through a process called "validator ...
CBobRobison's user avatar
  • 1,245
1 vote
1 answer
37 views

Failing to Demonstrate a Re-entrancy attack on withdraw function?

I am constantly getting a revert error while trying to demonstrate a Re-entrancy attack on a staking contract Here is the staking contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; ...
k191114 Muhammad Mansoor Butt's user avatar
2 votes
1 answer
286 views

What is difference between masterchef and smartchef contracts

I was going through masterchef contract. But later I saw Pancake uses smartchef contract for pools. I am confused which one to use, as both have almost same functionality.
Manav Notnani's user avatar
0 votes
2 answers
40 views

How will you give NFT as reward after Staking?

I'm working on a smart contract for a staking dApp. I have two ERC20 tokens S and R. Let's say S is a staking token, and R is a reward token. I also have one ERC721 token. It is called NFT Token. So ...
Umar Raza's user avatar
3 votes
1 answer
523 views

Multi sig solutions for validator withdrawal key

Validators for ETH2.0 have a pair of keys: 1 for validation (hot wallet) and another one for withdrawal (cold wallet). It looks like the tx data for depositing the stake requires both public keys for ...
Oscar Serna's user avatar
0 votes
1 answer
566 views

How can I get a list of all blocks proposed by a validator?

I would like to get all blocks proposed by a given validator. It looks like this functionality is not available in the standard Beaconchain API. Is there any other API available, probably by a a third ...
TripleSpeeder's user avatar
2 votes
1 answer
474 views

What are the events that mint new ETH?

I’m trying to better understand the rewards and minting processes for ETH POS so I can potentially apply the logic to a protocol I’m building. My question is what events lead to minting new ETH? My ...
Manuelmaccou's user avatar
2 votes
4 answers
774 views

Does Ethereum staking have the guarantee that even if the validator goes down, our ETH stays with us?

It seems that we can use one of the staking platforms for ETH: https://ethereum.org/en/staking/pools/ For Solana (SOL), there is a feature which is, even if a validator goes down (or the owner of the ...
Stefanie Gauss's user avatar
0 votes
1 answer
16 views

Is there any example of pooling Ethereum to invest in a company’s operations?

I was wondering if there is some structure that bridges the gap between pooling or collective staking of a cryptocurrency, and traditional investment in which you and others fund the operation of a ...
Julius Hamilton's user avatar
1 vote
3 answers
383 views

Why do we still pay gas in proof-of-stake?

When Ethereum was on a proof-of-work business model, gas had to be paid to miners to execute transactions. Now that the miners are gone in the new proof-of-stake system, why are we still paying gas on ...
user610620's user avatar
  • 1,558