Deploying on a ethereum testnet without using Alchemy or Infura? #556
-
Hello! I curious to know, how would i deploy a smart contract on one of ethereum testnets without using providers such as Alchemy, Infura, Moralis, or other similar? Why im asking this: But when it comes to deploying on testnet, i cannot understand how to do it without those providers.
So in conclusion, if i understood well, it helps us average users communicate with a blockchain without running our own ethereum node. But if thats true, that means that potentially i can actually run my own node, and communicate with a blockchain. Does that mean that i need "rig", some form of memory and good hardware specs so i can "copy" blockchain weather that be ethereum mainnet or testnets, and have my own URL, for example: 192.168.10.1 and some random port like 8787, or how would it work? If i could get some more references about this, where i could learn about it, it would be welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@nikola-bozin #353 here I have answered this. |
Beta Was this translation helpful? Give feedback.
-
Hey Johnny 😉 Think of the legacy web for a moment. To host your website, you could do it from your own server [perhaps even your laptop]. Or you would use someone else's server -- for free, or for a fee. Doing it from someone else's server is so cheap and reliable nowadays, that except for some specific use cases, using someone else's servers makes much more sense. And that's what most of the people are doing. The same is with Ethereum. You can either spin your own node, that will become a part of the peer-to-peer network. Or you will use someone else's node -- for free, or for a fee. It all depends on your use case. For playing around, using someone else's node makes a lot of sense. On the other side, if you are running an operation where a lot of funds are at stake and it is very critical that you have more control on what information you receive and broadcast, you would run your own node and have your apps connect to it.
Yes. But don't confuse service providers with what
Exactly. That's the beauty of blockchains. They are permisiones. Anyone can join. And the more nodes the are, the more decentralized and resilient the network is.
When people talk about rigs, they are usually referring to mining rigs. Mining is an optional part of running your node. Mining nodes write to blockchain [create new blocks]. Non-mining nodes only read from the blockchain. Not sure what the specs are nowadays to run a read-only node, but you would need a machine with good RAM and SSD. Running your own node will definitely help you learn more about how Ethereum works on the network level AND it will contribute to the decentralization of the network. But at this early stage of your development, I'd suggest you simplify your life and use a service provider. Also, Ethereum is a few months away from moving to Proof-of-Stake, which introduces some significant changes in how the nodes operate. |
Beta Was this translation helpful? Give feedback.
Hey Johnny 😉
Think of the legacy web for a moment. To host your website, you could do it from your own server [perhaps even your laptop]. Or you would use someone else's server -- for free, or for a fee. Doing it from someone else's server is so cheap and reliable nowadays, that except for some specific use cases, using someone else's servers makes much more sense. And that's what most of the people are doing.
The same is with Ethereum. You can either spin your own node, that will become a part of the peer-to-peer network. Or you will use someone else's node -- for free, or for a fee.
It all depends on your use case. For playing around, using someone else's node makes a lot of sense. On t…