/morph-examples

This is the repo of a series of code examples than help developers onboard Morph

Primary LanguageSolidityMIT LicenseMIT

morph-examples

This is the repo of a series of code examples that helps developers onboard onto the Morph Ecosystem

Morph Examples

The code examples in this repository will range from deploying simple contracts on Morph to building full stack dApps that leverage Morph as its L2. More examples will be added to this repository and we are open for suggestions on code examples you may want to see in the future.

Getting Started

This directory includes projects that demonstrate how to use Hardhat or Foundry to deploy a contract in Morph's rollup network.

This project contains a simple contract that will lock a certain amount of Ether in the deployed contract for a specified amount of time.

This directory consists of a simple Frontend setup allowing you to connect to your smart contract and interact with them from the UI.

Chain Configuration

network:morphTestnet
chainId:2810
apiURL: 'https://explorer-api-holesky.morphl2.io/api?'
browserURL: 'https://explorer-holesky.morphl2.io/'
rpcURL: 'https://rpc-quicknode-holesky.morphl2.io'
currencySymbol: ETH