Does deploying a contract mean create a new block in blockchain

+1 vote
I am using the Ethereum network to deploy a smart contract. The contract is written in Solidity and I am using Remix IDE to deploy and test. I am using a testing network at the moment.

What I don't understand is that when I deploy a smart contract to the Ethereum network, does it create a new block on the blockchain? My contract may send transactions to different accounts when it is running. Whether this transaction is inside the block of the smart contract? Once I deploy the contract, it should be running inside the network. Whenever there is a method call on the contract, does it always generate a transaction in the block?
Mar 29, 2022 in Blockchain by Soham
• 9,710 points
515 views

1 answer to this question.

+1 vote
Does deploying a contract mean creating a new block in the blockchain?
live networks - Nope
emulators - Yes
Whenever there is a method call on the contract, does it always generate a transaction in the block?
There's a difference between a transaction (read-write) and a call (read-only). For transactions, see above. Read-only calls are not mined at all (so they are free), and they are only invoked on the machine of your node provider (or in the emulator).
answered Mar 31, 2022 by Rahul
• 9,680 points

Related Questions In Blockchain

0 votes
1 answer

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
1,853 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,655 views
+1 vote
1 answer

How blockchain node behaves upon receiving a new block when previous block wasn't acquired?

A node will ask for block number ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,100 points
1,613 views
0 votes
1 answer

How to create a new wallet on a blockchain?

Firstly, you need to have a clear ...READ MORE

answered Apr 4, 2018 in Blockchain by Christine
• 15,790 points
1,383 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,923 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP