Where gas fee received from user transaction? #921
Replies: 5 comments 4 replies
-
Hi @amandatsalis , A1: The only reward mechanism Polygon Edge has, which works for both PoA and PoS, is implemented in the executor.go file (from the State folder). The proposer is going to get the coinbase fee. The rewards are stored to the validator's address. The implementation is: polygon-edge/state/executor.go Lines 486 to 488 in d3d4f8a A2: You can access the gas fees stored to a certain validator's address via its private key. You can import the account into a wallet, for example, using the private key, and then send the tokens to an address of your choice. A3: I don't fully understand what you mean by this. Every validator gets a unique public address when you generate the keys. A4: This flag is not used anymore, we will edit the docs accordingly soon. |
Beta Was this translation helpful? Give feedback.
-
how to change this address validator ? |
Beta Was this translation helpful? Give feedback.
-
Sorry if I often ask, because I'm doing a case study on blockchain, please help. For example: |
Beta Was this translation helpful? Give feedback.
-
does that mean I can't change the address validator 0000000000000000000000 to my address like 0x348C310221Bba25FEe7D575Bc5D2c90BbCF88191? |
Beta Was this translation helpful? Give feedback.
-
That field doesn't display the actual address of the proposer. |
Beta Was this translation helpful? Give feedback.
-
Where gas fee received from user transaction?
Description
Question 1 :
i am case study about blockchain in university, im trying to create blockchain in localhost, but i not understand where gas fee from user or user create smartcontract is pay gas fee, but where gas fee send ? to null address?
Q2 :
can i setting for received gas fee from user to my address ?
Q3 : and how to add validator with costume address not null address.
Q4 : i see CLI Command :
server --join /ip4/127.0.0.1/tcp/10001/p2p/16Uiu2HAmJxxH1tScDX2rLGSU9exnuvZKNM9SoK3v315azp68DLPW
how to use this command?Have 4 Bootnodes, Included 1 JSON RPC
Beta Was this translation helpful? Give feedback.
All reactions