The Scaffold-Eth NX plugin allows you to easily integrate an instance of Scaffold-eth into your NX monorepo. Scaffold-eth is a framework for developing decentralized applications (dApps) on Ethereum, providing a set of tools and templates to accelerate the development process.
In your NX root dir run:
npm install @scobru/scaffold-eth-nx
In your NX root dir run:
- Generate scaffold-eth packages
nx generate @scobru/scaffold-eth-nx:scaffold-eth
- Install scaffold-eth running:
yarn install-{yourAppName}
- Run Hardhat Chain:
nx run yourAppName:chain
- Run Hardhat Deploy:
nx run yourAppName:deploy
- Start NextJS App:
nx run yourAppName:start