Doubt in terminologies used in Ganache Interface
I am developing a DApp (an e-commerce app) based on Ethereum. I wrote the solidity contract and interact it with a NodeJS server/web3js API. I am running a Ganache Ethereum RPC client locally. The app is running fine. I am making all the contract calls from the default account (web3.eth.accounts[0]).
I just have a few questions regarding the terminologies shown in this image of Ganace Interface.
- What does the From Address and To Contract Address signifies?
- What does Value mean? Why is it 0?
- Who paid for the gas when I did a contract call(which resulted in a transaction and then a block) via the web app?
- Who is the Miner of this Block 5?

blockchain ethereumjs ganache
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am developing a DApp (an e-commerce app) based on Ethereum. I wrote the solidity contract and interact it with a NodeJS server/web3js API. I am running a Ganache Ethereum RPC client locally. The app is running fine. I am making all the contract calls from the default account (web3.eth.accounts[0]).
I just have a few questions regarding the terminologies shown in this image of Ganace Interface.
- What does the From Address and To Contract Address signifies?
- What does Value mean? Why is it 0?
- Who paid for the gas when I did a contract call(which resulted in a transaction and then a block) via the web app?
- Who is the Miner of this Block 5?

blockchain ethereumjs ganache
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am developing a DApp (an e-commerce app) based on Ethereum. I wrote the solidity contract and interact it with a NodeJS server/web3js API. I am running a Ganache Ethereum RPC client locally. The app is running fine. I am making all the contract calls from the default account (web3.eth.accounts[0]).
I just have a few questions regarding the terminologies shown in this image of Ganace Interface.
- What does the From Address and To Contract Address signifies?
- What does Value mean? Why is it 0?
- Who paid for the gas when I did a contract call(which resulted in a transaction and then a block) via the web app?
- Who is the Miner of this Block 5?

blockchain ethereumjs ganache
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am developing a DApp (an e-commerce app) based on Ethereum. I wrote the solidity contract and interact it with a NodeJS server/web3js API. I am running a Ganache Ethereum RPC client locally. The app is running fine. I am making all the contract calls from the default account (web3.eth.accounts[0]).
I just have a few questions regarding the terminologies shown in this image of Ganace Interface.
- What does the From Address and To Contract Address signifies?
- What does Value mean? Why is it 0?
- Who paid for the gas when I did a contract call(which resulted in a transaction and then a block) via the web app?
- Who is the Miner of this Block 5?

blockchain ethereumjs ganache
blockchain ethereumjs ganache
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 9 hours ago
Abhishek SahAbhishek Sah
62
62
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Abhishek Sah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First i need to tell you that every action that change the state of the blockchain need to be a transaction. So when you need to call a function that change a value from the blockchain you need to make a transaction to that contract.
The From address signifies the address that make the transaction and the to address is the address that receive the transaction.
Value is just the value the address from send to the address to. The reason why it is 0 is because you just want the contract address to excute for you something that will change the state of the blockchain (don’t want to send it some ether) so you dont need to send any value unless the function in the contract require some value to execute
The gas is pay by the from address, you can check the account section for the address with the same hash as the from address and you will see that its balance is lower than other addresses the reason is because it has to pay the gas.
If you are using ganache then ganache is your miner, it will automatic mine for you so you dont need to care much about the mining
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked aspayableso it's able to receive those Ethers)
– Lauri Peltonen
5 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "642"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Abhishek Sah is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f68140%2fdoubt-in-terminologies-used-in-ganache-interface%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First i need to tell you that every action that change the state of the blockchain need to be a transaction. So when you need to call a function that change a value from the blockchain you need to make a transaction to that contract.
The From address signifies the address that make the transaction and the to address is the address that receive the transaction.
Value is just the value the address from send to the address to. The reason why it is 0 is because you just want the contract address to excute for you something that will change the state of the blockchain (don’t want to send it some ether) so you dont need to send any value unless the function in the contract require some value to execute
The gas is pay by the from address, you can check the account section for the address with the same hash as the from address and you will see that its balance is lower than other addresses the reason is because it has to pay the gas.
If you are using ganache then ganache is your miner, it will automatic mine for you so you dont need to care much about the mining
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked aspayableso it's able to receive those Ethers)
– Lauri Peltonen
5 hours ago
add a comment |
First i need to tell you that every action that change the state of the blockchain need to be a transaction. So when you need to call a function that change a value from the blockchain you need to make a transaction to that contract.
The From address signifies the address that make the transaction and the to address is the address that receive the transaction.
Value is just the value the address from send to the address to. The reason why it is 0 is because you just want the contract address to excute for you something that will change the state of the blockchain (don’t want to send it some ether) so you dont need to send any value unless the function in the contract require some value to execute
The gas is pay by the from address, you can check the account section for the address with the same hash as the from address and you will see that its balance is lower than other addresses the reason is because it has to pay the gas.
If you are using ganache then ganache is your miner, it will automatic mine for you so you dont need to care much about the mining
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked aspayableso it's able to receive those Ethers)
– Lauri Peltonen
5 hours ago
add a comment |
First i need to tell you that every action that change the state of the blockchain need to be a transaction. So when you need to call a function that change a value from the blockchain you need to make a transaction to that contract.
The From address signifies the address that make the transaction and the to address is the address that receive the transaction.
Value is just the value the address from send to the address to. The reason why it is 0 is because you just want the contract address to excute for you something that will change the state of the blockchain (don’t want to send it some ether) so you dont need to send any value unless the function in the contract require some value to execute
The gas is pay by the from address, you can check the account section for the address with the same hash as the from address and you will see that its balance is lower than other addresses the reason is because it has to pay the gas.
If you are using ganache then ganache is your miner, it will automatic mine for you so you dont need to care much about the mining
First i need to tell you that every action that change the state of the blockchain need to be a transaction. So when you need to call a function that change a value from the blockchain you need to make a transaction to that contract.
The From address signifies the address that make the transaction and the to address is the address that receive the transaction.
Value is just the value the address from send to the address to. The reason why it is 0 is because you just want the contract address to excute for you something that will change the state of the blockchain (don’t want to send it some ether) so you dont need to send any value unless the function in the contract require some value to execute
The gas is pay by the from address, you can check the account section for the address with the same hash as the from address and you will see that its balance is lower than other addresses the reason is because it has to pay the gas.
If you are using ganache then ganache is your miner, it will automatic mine for you so you dont need to care much about the mining
answered 8 hours ago
haxerlhaxerl
1195
1195
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked aspayableso it's able to receive those Ethers)
– Lauri Peltonen
5 hours ago
add a comment |
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked aspayableso it's able to receive those Ethers)
– Lauri Peltonen
5 hours ago
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked as
payable so it's able to receive those Ethers)– Lauri Peltonen
5 hours ago
Just to clarify: value is the amount of Ether you send with the transaction. Typically it's 0 unless you excplicitly want to send some Ether with the transaction (the called function has to be also marked as
payable so it's able to receive those Ethers)– Lauri Peltonen
5 hours ago
add a comment |
Abhishek Sah is a new contributor. Be nice, and check out our Code of Conduct.
Abhishek Sah is a new contributor. Be nice, and check out our Code of Conduct.
Abhishek Sah is a new contributor. Be nice, and check out our Code of Conduct.
Abhishek Sah is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ethereum Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fethereum.stackexchange.com%2fquestions%2f68140%2fdoubt-in-terminologies-used-in-ganache-interface%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown