[Beginner]Getting Started

🏗️ Source Code: https://github.com/nglglhtr/ETHOnline-Workshop

🍀 Resources for beginners: https://www.notion.so/maticnetwork/Hello-Hackers-74a4a5da5dba49bcadb55413d32234e1

Connecting via the RPC

Try running:

curl -X POST <https://rpc-mumbai.matic.today> --data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}' --header "Content-type: application/json"

in your command line. If you get something like:

{"jsonrpc":"2.0","id":67,"result":"80001"}

you have successfully made your first interaction with the Network 🙃

Connecting your tools with Matic

can be used for any application/library that provides an option to add a custom RPC.

Connecting with web3js:

// node

const Web3 = require('web3')
const web3 = new Web3('<https://rpc-mumbai.matic.today>')

// web3 is now connected to Matic's provider

more details: https://docs.matic.network/docs/develop/network-details/network/

For Metamask, head over to custom RPC and add:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b9a5c8df-778d-4979-92f1-53ac96b17c63/Untitled.png

Once added to Metamask and connected to Remix, can use Remix to deploy new contracts

[Beginner] Switching to Matic