Replies: 1 comment 4 replies
-
The category should be Q&A for questions, and hence should be changed for others w/ similar doubts to refer to the answer.
Partially yes, it is broadcasted to some extent for "preparation"; whereas when the block is mined, it is broadcasted to a greater extent for verification of the block. So, for a txn which has indeed been mined—i.e. the latter—yes. Put simply, txns are "prepared" beforehand and therefore are unconfirmed txns. Txns are only confirmed when they are included in the blockchain, i.e they are mined (passed through). So, when the miner is including txns to be in the block, they are always capitalistic and will take on txns which yield the highest profits. Consequently, they pick such txns from the mempool to be included in the block they will mine.
These third-party web services are very convenient as their APIs provide simplistic connections to these networks, and hence saves time and is productive. Of course, you can decide to not use them (similar to Hardhat, you can create your own test-environment), but you will have to do everything by yourself.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, this is a very general question with which I only want to improve my understanding.
When I create a transaction is it broadcasted to the network and a bunch of nodes accept it or is it broadcasted to one specific node - I chose beforehand - which broadcasts this to other nodes ?
A contract deployment is also just a transaction so it should work the same way?
Why do I need Alchemy or similar providers to deploy a contract on the testnet? Isn't it possible to just connect to the Rinkeby or any other testnet? Is it because I have to specify an entry-point like a node?
Does this mean metamask has standard nodes it automatically connects to?
I know these are some very basic questions, still I am looking forward to getting your responses!
Beta Was this translation helpful? Give feedback.
All reactions