Note

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:

Recap

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.

Using Remix with Infura

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:

 Ethereum blockchain development in Infura

Follow the regular deployment process; the smart contract will be deployed to the Ropsten testnet in a few clicks, as shown here:

 Ethereum blockchain development in Infura

 

One-to-One Live Blockchain Classes

Coding Bootcamps school offers One-to-One Live Blockchain Classes for Beginners.

 

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:

 Ethereum blockchain development in Infura

Click Next and confirm the transaction. Once the transfer has completed, we can verify that the ether was sent in Etherscan. Etherscan is the block explorer and analytics platform for the Ethereum blockchain. You can easily search, confirm, and validate smart contract transactions that have been deployed on the Ethereum blockchain using this platform.

 

The following screenshot shows our transactions in Etherscan:

 Ethereum blockchain development in Infura

 

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.

Resources

Free Webinars on Blockchain

Here is the list of our free webinars that are highly recommended:

 

Free Courses

Here is the list of our 10 free self-paced courses that are highly recommended:

 

Self-Paced Blockchain Courses

If you like to learn more about Hyperledger Fabric, Hyperledger Sawtooth, Ethereum or Corda, taking the following self-paced classes is highly recommended:

  1. Intro to Blockchain Technology
  2. Blockchain Management in Hyperledger for System Admins
  3. Hyperledger Fabric for Developers
  4. Intro to Blockchain Cybersecurity
  5. Learn Solidity Programming by Examples
  6. Introduction to Ethereum Blockchain Development
  7. Learn Blockchain Dev with Corda R3
  8. Intro to Hyperledger Sawtooth for System Admins

 

Live Blockchain Courses

If you want to master Hyperledger Fabric, Ethereum or Corda, taking the following live classes is highly recommended:

 

Articles and Tutorials on Blockchain Technology

If you like to learn more about blockchain technology and how it works, reading the following articles is highly recommended:

 

Articles and Tutorials on Ethereum and Solidity

If you like to learn more about blockchain development in Ethereum with Solidity, reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on Hyperledger Family

If you like to learn more about blockchain development with Hyperledger, reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on R3 Corda

If you like to learn more about blockchain development on Corda , reading the following articles and tutorials is highly recommended:

 

Articles and Tutorials on Other Blockchain Platforms

If you like to learn more about blockchain development in other platforms, reading the following articles and tutorials is highly recommended: