2.0.2 • Published 8 months ago

@morphl2/create-morph-app v2.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Create Morph App

Create Morph applications with different templates and configurations.

Quick Start

npx @morphl2/create-morph-app@latest

Available Templates

Basic Starter Kit

A clean foundation for building on Morph, including:

  • Hardhat & Foundry development environment
  • Next.js frontend with Web3 integration
  • Wallet connection setup
  • Basic smart contract examples

Pyth Oracle Template

Everything in the basic kit plus:

  • Pyth Oracle integration
  • Price feed examples
  • Oracle data display components

Environment Setup

After creating your project, you'll need to set up your environment:

Frontend (.env.local)

NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=your_wallet_connect_project_id

Smart Contracts (.env)

PRIVATE_KEY=your_private_key_here
RPC_URL=your_rpc_url_here

Project Structure

Both templates follow the same basic structure:

your-app/
├── contracts/
│   ├── hardhat/
│   │   ├── contracts/
│   │   ├── scripts/
│   │   └── test/
│   └── foundry/
│       ├── src/
│       ├── test/
│       └── script/
└── frontend/
    ├── app/
    ├── components/
    └── public/

Development

  1. Set up environment variables
  2. Install dependencies in each directory
  3. Start frontend development server
  4. Deploy contracts using Hardhat or Foundry

License

MIT

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

2.0.2

8 months ago

2.0.1

8 months ago

2.0.0

12 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago