Introduction
Developing your Dapp on Aurora is done in the same way as on any other EVM chain. The main steps in this process are:
- Writing and deploying your smart contracts in Solidity by using Hardhat, Foundry, Truffle or Remix.
- Creating a frontend that interacts with these smart contracts and blockchain.
We will talk in detail about how you can build a simple Dapp using Hardhat, React and Wagmi. By this, we are aiming to answer how you can do the most frequent Dapp-developer questions:
- How to connect your wallet to the Dapp?
- How to get information about a particular user account?
- How to send transactions?
- How to interact with smart contracts?
But before doing that, let's list some resources that can help you learn more about developing on Aurora and Web3 development in general.
Intro to EVM development
We encourage developers, who want to onboard into web3 to try using the best Ethereum onboarding resources:
- CryptoZombies is a great way to learn to write smart contracts for beginners.
- SolidityByExample one of the best way to learn Solidity contracts by example.
- Ethereum Speedrun based on ScaffoldETH: a bunch of tutorials explaining how to build Dapps - NFT, ERC-20, Staking, DEX, Multisigs, etc. It starts with simpler ones and moves forward gradually to more complex examples.
- Viem and Wagmi are the tools you will want to use to communicate between your UI and the blockchain.
To try all of the projects and tutorials mentioned above on Aurora all you need to do is to change your RPC URL and that is it! Or in other words, just add Aurora network to your project. You can find information about the RPC endpoints here.
Aurora Developer Portal
At Aurora, we also have Aurora's DevPortal to help you learn more about the specifics of the development on Aurora and how our core products work. So, if you are already an experienced developer and want to learn more about more advanced themes, please consider visiting it.
We suggest you start with the following articles:
- Gas Price on Aurora and Near
- Integration tests for XCC
- Contract callbacks in XCC
- Aurora RPC Node Architecture
You can learn a lot from our GitHub organization repositories, directly from code. Here are the most popular ones:
Intro to Near Development
Learning Near is not compulsory to develop on Aurora, but if you are curious or wanting to understand advance material (like XCC), you can read more about it here.
You're running Aurora atop of Near blockchain, every Aurora transaction has a corresponding Near transaction. That is why two ecosystems are closely intertwined. Here are some materials to onboard yourself with Near:
- Near Documentation
- Near Developers Portal
- JavaScript Devs Near Onboarding
- Rust Devs Near Onboarding
- Near CLI RS
- Near Plugins with a tutorial here
The key to understanding on how Aurora is linked with Near is to know the next repos/articles: