@morphl2/create-pyth-app v1.0.1
Create Morph Pyth Kit
This package allows you to quickly set up a new Morph application with Pyth Oracle integration.
Usage
Run the following command to create a new Morph Pyth app:
npx @morphl2/create-pyth-app@latestFollow the prompts to set up your new project.
What's Included
- Hardhat setup for smart contract development
 - Foundry setup for additional testing options
 - Next.js frontend with Web3 integration
 - Pyth Oracle integration for price feed data
 - Basic smart contract and frontend examples
 
Getting Started
After creating your project, follow these steps:
Navigate into the project directory:
cd your-project-nameSet up the frontend:
cd frontendCreate a
.env.localfile in the frontend directory:touch .env.localOpen the
.env.localfile and add your WalletConnect Project ID:NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=your_walletconnect_project_id_hereReplace
your_walletconnect_project_id_herewith your actual WalletConnect Project ID. You can get this ID by signing up at WalletConnect Cloud.Install frontend dependencies:
yarn installReturn to the project root and set up Hardhat:
cd ../contracts/hardhat yarn installSet up Foundry:
cd ../foundry forge installReturn to the project root:
cd ../../
Refer to the README files in each directory for more information on how to use and develop your app.
Important Note
Make sure to keep your .env.local file secure and never commit it to version control, as it contains sensitive information.
License
This project is licensed under the MIT License.