Definitely go with what you have previous experience and are comfortable with. Otherwise here are two great choices
- Vercel is a great choice because of how easy it is to deploy to. It will allow you to focus on building your app
- Fleek is a great web3 native choice that we used sometimes at OP labs. It allows you to deploy both to a CDN and to IPFS with minimal setup with a similar experience to vercel
Note: Getting forge to build on vercel can be a blocker. To make it easier for hackers there is a npm run build:production
command that does not build forge before building
You can also just be happy using local host :).
If you have any trouble deploying email will@oplabs.co with a link to your github repo and a description of your issue.
Absolutely! It's a great start for any full stack hack project
You dissapoint us. But yes. With minor tweeks this boilerplate will work on any EVM chain
You got lots of choices here
- the graph is the most web3 native way but requires knowledge of graphql
- TRPC is what we use at OP labs to move fast and would work very well at a hackathon
- Ponder is a graphql alternative with an aim of better dev experience but is early in it's own development
- express is the most well documented backend choice
The easiest place to deploy your backend fast and for free are the following
If doing it programatically try using the official optimism sdk. Remember that Goerli must be ran in bedrock:true mode while mainnet must be ran as bedrock:false
Wagmi is a typesafe library based around React Query that simplifies and speeds up the process of building web3 frontends
Forge is a superfast and robust toolchain that reduces context switching, speeds up development, and tends to be easier to use than alternatives even for JavaScript Devs
Compared to NEXT.js vite is a better choice for a hackathon. It has a faster and better dev server, is simpler, and very easy to deploy since it's build output is just static assets. That said, NEXT.js is also a great choice and we recomend using Wagmi CLI if you believe NEXT.js would be more productive for your project
Bless your heart for writing tests at a hackathon! You are awesome! I recomend using vitest which will work with 0 config and has a nearly identical API to jest
If you want to write E2E tests our recomendation is to try synpress to test with metamask and cypress
NPM is the most minimal tool and we don't want you fighting your tooling at this hackathon. That said, you can definitely consider using pnpm which will speed up your installs. To use pnpm just run npm i pnpm --global
and then run pnpm import
to transfer the package-lock.json
Try it out! You will be amazed at how much it will streamline your workflow of going from contract to UI.
This repo uses esbuild to build and treats typechecking as a linting step. This is in general a best practice anyways and it helps you stay productive while hacking without being slowed down by typescript