Skip to content

Everything you need to get started building with Ethereum + Unlock Protocol

License

Notifications You must be signed in to change notification settings

unlock-protocol/scaffold-eth-unlock

Repository files navigation

Scaffold-ETH + Unlock Protocol

Scaffold-ETH gives you everything you need to get started building on Ethereum and we've added some additional tools to help you get started in creating NFTs using Unlock Protocol.

🏗 Scaffold-ETH

everything you need to build on Ethereum! 🚀

🧪 Quickly experiment with Solidity using a frontend that adapts to your smart contract:

image

🏄‍♂️ Quick Start

Prerequisites: Node (v16 LTS) plus Yarn and Git

clone/fork 🏗 scaffold-eth:

git clone https://github.com/unlock-protocol/scaffold-eth-unlock.git

install and start your 👷‍ Hardhat chain:

cd scaffold-eth-unlock
yarn install
yarn chain

in a second terminal window, start your 📱 frontend:

cd scaffold-eth-unlock
yarn start

in a third terminal window, 🛰 deploy your contract:

cd scaffold-eth-unlock
yarn deploy

🔏 Edit your smart contract YourContract.sol in packages/hardhat/contracts

📝 Edit your frontend App.jsx in packages/react-app/src

💼 Edit your deployment scripts in packages/hardhat/deploy

📱 Open http://localhost:3000 to see the app

Unlock Settings

⚙️ Configure Unlock-protocol variables on settings tab or packages/react-app/src/components/UnlockVariables.jsx

🔧 Modify your Locked Navigation and Locked Content at /src/components/LockedNav.jsx and /src/components/LockedContent.jsx

🚀 Deploy a new Lock with the Create Lock Component on Dashboard

📚 Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

🍦 Other Flavors

🔭 Learning Solidity

📕 Read the docs: https://docs.soliditylang.org

📚 Go through each topic from solidity by example editing YourContract.sol in 🏗 scaffold-eth

📧 Learn the Solidity globals and units

🛠 Buidl

Check out all the active branches, open issues, and join/fund the 🏰 BuidlGuidl!

💌 P.S.

🌍 You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.

📣 Make sure you update the InfuraID before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!

🏃💨 Speedrun Ethereum

Register as a builder here and start on some of the challenges and build a portfolio.

💬 Support Chat

Join the telegram support chat 💬 to ask questions and find others building with 🏗 scaffold-eth!


🙏 Please check out our Gitcoin grant too!

Automated with Gitpod

Open in Gitpod

About

Everything you need to get started building with Ethereum + Unlock Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published