How Ethereum Blockchain Works!
If you are new to the blockchain technology, taking our Introduction to Blockchain Technology self-paced course is highly recommended. Also, for a comprehensive coverage of blockchain development in Ethereum or mastering Solidity programming, taking our below self paced courses is highly recommended:
In our previous article (Review of Infura Ethereum API), we discussed how Infura Ethereum API works.
In this article, we learn how to use Infura with Remix for building Ethereum blockchain applications.
We can deploy the ERC20 token smart contract from Remix to the Infura Ropsten testnet easily. Just use an injected Web3 instance by using MetaMask, which is already connected to Ropsten testnet through Infura. If you need ethers for test, you can get them from https://faucet.metamask.io:
Follow the regular deployment process; the smart contract will be deployed to the Ropsten testnet in a few clicks, as shown here:
After connecting to the Infura blockchain network, you can call the smart contract function; as usual, MetaMask will connect to the testnet and execute transactions. You don't even need to install a local blockchain instance. Due to this, smart contract development becomes very easy and convenient. You just need to connect to the network provided by Infura.
You can also easily transfer amounts from one account to another by using the send ETH method from the MetaMask wallet. The following example shows that we sent 2 ethers from one account to another:
The following screenshot shows our transactions in Etherscan:
As we can see, Infura has undoubtedly provided an easy solution to help developers build DApps on the Ethereum network. A developer can focus on their application development and utilize infrastructure supported by Infura.
Next Article
In our next article (How Ethereum Client API Works), we discuss Ethereum client API.
This article is written in collaboration with Brian Wu who is a leading author of “Learn Ethereum: Build your own decentralized applications with Ethereum and smart contracts” book. He has written 7 books on blockchain development.
Here is the list of our free webinars that are highly recommended:
Here is the list of our 10 free self-paced courses that are highly recommended:
If you like to learn more about Hyperledger Fabric, Hyperledger Sawtooth, Ethereum or Corda, taking the following self-paced classes is highly recommended:
If you want to master Hyperledger Fabric, Ethereum or Corda, taking the following live classes is highly recommended:
If you like to learn more about blockchain technology and how it works, reading the following articles is highly recommended:
If you like to learn more about blockchain development in Ethereum with Solidity, reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development with Hyperledger, reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development on Corda , reading the following articles and tutorials is highly recommended:
If you like to learn more about blockchain development in other platforms, reading the following articles and tutorials is highly recommended:
We offer private custom tutoring classes both online and in DC, MD and VA for almost all of our courses or bootcamps. Give us a call or email us to discuss your needs.
$90 Regular
$50 Limited Offer
REGISTER NOW