buidlguidl / batch4.buidlguidl.com Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://batch4.buidlguidl.com
License: MIT License
Home Page: https://batch4.buidlguidl.com
License: MIT License
Once all the Batch issues have been fixed, BuidlGuidl wants to fund your next night and weekend build with 0.25 ETH.
Think of it like a mini hackathon! ⛵️ Build something that you learn from, can possibly teach others, doesn't necessarily have to be a product or a big thing!
Don't stress about inventing something new; feel free to take an existing idea and add your unique touch to it. The key is, it should be something you can complete over a weekend.
🧾 What to Do:
🕵️♀️ We’ll look into the ideas and help you refine the project to build if needed. It might take some back & forth on the proposal! We'll sent you 50% on grant approval, and 50% at the end when the build is submitted.
👉 Form Deadline: Make sure to fill out the form and submit your idea by April 21th
👉 Project Due Date: Once approved, you have 2 weeks to submit your build
Project Submission Requirements:
Looking forward to seeing your awesome projects!
Show the current members of your batch in the app.
Discuss with your peers what you would like the homepage to show! It can be a good opportunity to tweak the app colors/layout etc.
As in pervious issue, keep it simple (no big images, external assets, etc)
This can be an ongoing issue while you all keep implementing things.
When a user connects to the dApp, let's display 2 things:
Feel free to place that info whenever you want. It could be just some icons that show next to the wallet for members.
For more info about the contract: Check-in with the BatchRegistry contract
Description
Goal is to create a multiframe where:
Eng work:
^^ feel free to add more ideas here.
Check-in into the BatchRegistry contract.
💡 This issue doesn't require you to raise a PR, just get yourself checked-in. Create a local branch to work on this.
The BatchRegistry contract is deployed on Optimism.
You can find the contract code in packages/hardhat/contracts/BatchRegistry.sol
. It's also available in the externalContracts.ts
file in packages/nextjs/contracts/
(for front-end use in future issues).
You can see/interact with the contract on the Debug page of SE-2: Clone this repo, run yarn install
and yarn start
and go to http://localhost:3000/debug.
💡 You can check if you wallet address is in the allowList ;)
There are many ways to check-in into the Contract. Here we'll use the Scaffold-ETH 2 way ™.
Before you begin, make sure you're working on a separate branch. Here's how:
git checkout -b [your-branch-name]
Set up your local environment:
yarn install
(install dependencies)yarn start
(starts SE2 front-end)💡 You'll notice that the dApp points to the Optimism chain. Check the scaffold.config.ts
file to see how it's configured.
checkIn
functionGo the the BatchRegistry.sol
contract and check the checkIn
function. You'll see that in order to check in, 3 things are required:
So you'll need to deploy a contract that calls the checkIn
function on the BatchRegistry
contract.
Instead of deploying a contract on Optimism, we'll deploy it locally so we can test.
yarn chain
yarn deploy
packages/hardhat/deploy/00_deploy_your_contract.ts
scaffold.config.ts
(targetNetwork should be chain.hardhat
)yarn start
If you go to the Debug page, you should see the BatchRegistry
contract (but this time is deployed locally!)
💡 You'll need to tweak the deploy script to make yourself the owner of the BatchRegistry
contract (so you can update the allowList, etc.)
checkIn
functionNow it's time to create a contract that calls the checkIn
function. E.g.
CheckIn.sol
contract in packages/hardhat/contracts/
BatchRegistry
contract (More info here: Interfaces in Solidity By Example)BatchRegistry
contractcheckIn
BatchRegistry function.00_deploy_your_contract.ts
script to deploy your contract (and pass the address of the BatchRegistry
contract)Test it!
Once you have tested that your contract works, it's time to deploy it to Optimism and check-in live!
😯 We're dealing with real money now that we're deploying to Optimism! You should have some oEth from your onboarding process. And don't worry, the Optimism chain is much less expensive to deploy on than mainnet.
yarn generate
)yarn account
)00_deploy_your_contract.ts
script to only deploy your contract to Optimism (you don't want to deploy the BatchRegistry
contract, which is already deployed by us!)yarn deploy --network optimism
)scaffold.config.ts
checkMeIn
function!✅ You should be checked-in! (You can check it by calling the yourContractAddress
function)
In future issues, we'll be showing this info on the UI.
There is a "To Be implemented" string in packages/nextjs/app/page.tsx
that should show the number of builders that have checked in to the contract.
We want to show the real count (reading from the BatchRegistry contract)
For more info about the contract: #9
Create a PR with your personal page so it's displayed on the Batch site.
packages/nextjs/app/builders/[your-0xAddress]/page.tsx
builders
folder in packages/nextjs/app/
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.