1. GFT Hackaton Americas
Set up your Blockchain environment
1.Overview
Welcome to our beginners guide to Polygon contracts and Blockchain dApp
development. This tutorial is aimed at hackathon participants who are getting setup to
quickly build something from scratch.
To orchestrate this process we're going to use Hardhat Tool, a development
environment that facilitates building on Polygon. It helps developers manage and
automate the recurring tasks that are inherent to the process of building smart
contracts and dApps, as well as easily introducing more functionality around this
workflow. This means compiling and testing at the very core.
Hardhat also comes built-in with Blockchain Network, a local Polygon network
designed for development. It allows you to deploy your contracts, run your tests and
debug your code.
In these tutorials below:
1.https://docs.alchemy.com/alchemy/tutorials/how-to-code-and-deploy-a-polygon-
smart-contract
2.https://www.youtube.com/watch?v=iM8AcSpIZGo
3. https://github.com/alchemyplatform/polygon-smart-contract-tutorial
they’ll guide you through:
Setting up your Node.js environment for Polygon development
Creating and configuring a Hardhat project
The basics of a Solidity smart contract that implements a token
Writing automated tests for your contract using Ethers.js and Waffle
Debugging Solidity with console.log() using Hardhat Network
Deploying your contract to Hardhat Network and Polygon testnets (Mumbai)
To follow this tutorial you should be able to:
Write code in JavaScript
Operate a terminal
Use git
Understand the basics of how smart contracts work
Set up a Metamask wallet