permit2
vercel
permit2 | vercel | |
---|---|---|
5 | 481 | |
667 | 12,167 | |
2.7% | 0.9% | |
5.1 | 9.8 | |
3 months ago | 5 days ago | |
Solidity | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
permit2
-
Web 3.0 frontend stacks in 2023
Permit2
-
Daily General Discussion - January 21, 2023
Permit2 is a non-upgradable, unowned, and open-source contract that has been deployed to the same address across Ethereum, Optimism, Arbitrum, Polygon, and Celo. To start integrating, see the developer docs and SDK.
-
tokens: approve as a signature for transactions - why haven't we?
Check out uniswapโs permit2 approvals https://github.com/Uniswap/permit2
-
Move tokens without ETH?
see: https://github.com/Uniswap/permit2/blob/main/src/SignatureTransfer.sol
-
The Dark Side of Permits (EIP2612)
Thatโs exactly what Uniswap did (click). They created this central smart-contract and called it โPermit2โ.
vercel
-
Building static websites
This approach has seen a proliferation of platforms that offer this as a service(Netlify, Vercel, Cloudflare etc.) and also a proliferation of frameworks with different strengths and weaknesses(list of frameworks supported cloudflare).
-
Vite vs Nextjs: Which one is right for you?
Next.js: Highly optimized for production from the start, with features tailored for performance in real-world scenarios, including extensive support for SEO and server-side capabilities. Note: With deployment to Vercel is free and comes with additional free tooling such as website analytics and more.
-
Next.js starter template
Easily deploy your Next.js app with Vercel by clicking the button below:
Easily deploy your Next.js app with Vercel by clicking the button below:
-
Building a Production-Ready Web App with T3 Stack
Now go to https://vercel.com, sign up for an account, and click "New Project". Connect your GitHub account and give Vercel permission to access your repositories.
-
How to deploy a Next.js application to GitLab Page
Next.js has become a standard choice for developing React applications, offering various deployment options across different platforms. While Vercel is a popular choice for building and deployment, specific project requirements may require deployment to GitLab. In this guide, I'll illustrate the process of deploying a Next.js application to GitLab Pages.
-
What I have in my portfolio ๐
I hosted my portfolio in Vercel. The main reason why I chose it is the hosting has great support for NextJS and IMPORTANT THING, it is total FREE ๐ค (with my usage). And I have use GitHub Action for deploy it automatically when I make or merge change into main branch.
-
React to Vercel: Deployment Made Easy.
To do this just head over to Vercel and log in if you're not already logged in. If this is your first project, you'll be seeing something like this.
-
Next.js: Crafting a Strict CSP
function getContentSecurityPolicyHeaderValue( nonce: string, reportUri: string, ): string { // Default CSP for Next.js const contentSecurityPolicyDirective = { 'base-uri': [`'self'`], 'default-src': [`'none'`], 'frame-ancestors': [`'none'`], 'font-src': [`'self'`], 'form-action': [`'self'`], 'frame-src': [`'self'`], 'connect-src': [`'self'`], 'img-src': [`'self'`], 'manifest-src': [`'self'`], 'object-src': [`'none'`], 'report-uri': [reportUri], // for old browsers like Firefox 'report-to': ['csp'], // for modern browsers like Chrome 'script-src': [ `'nonce-${nonce}'`, `'strict-dynamic'`, // force hashes and nonces over domain host lists ], 'style-src': [`'self'`], } if (process.env.NODE_ENV === 'development') { // Webpack use eval() in development mode for automatic JS reloading contentSecurityPolicyDirective['script-src'].push(`'unsafe-eval'`) } if (process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview') { contentSecurityPolicyDirective['connect-src'].push('https://vercel.live') contentSecurityPolicyDirective['connect-src'].push('wss://*.pusher.com') contentSecurityPolicyDirective['img-src'].push('https://vercel.com') contentSecurityPolicyDirective['font-src'].push('https://vercel.live') contentSecurityPolicyDirective['frame-src'].push('https://vercel.live') contentSecurityPolicyDirective['style-src'].push('https://vercel.live') } return Object.entries(contentSecurityPolicyDirective) .map(([key, value]) => `${key} ${value.join(' ')}`) .join('; ') }
-
VERCEL and the Internet Computer
This is a demo project to demonstrate how a Web2 frontend hosted on VERCEL can access a Motoko backend canister on the Internet Computer using Server Side Rendering (SSR).
What are some alternatives?
Permit-Phishing - The demonstration of a fake EIP2612 signature for stealing ERC20 tokens with Permit2
flyctl - Command line tools for fly.io services
token-lists - ๐ The Token Lists specification
node-canvas - Node canvas is a Cairo backed Canvas implementation for NodeJS.
abitype - Strict TypeScript types for Ethereum ABIs
fake-store-api - FakeStoreAPI is a free online REST API that provides you fake e-commerce JSON data
jotai-form - Form atoms for Jotai
vite - Next generation frontend tooling. It's fast!
jotai - ๐ป Primitive and flexible state management for React
create-react-app - Set up a modern web app by running one command.
react-hook-form - ๐ React Hooks for form state management and validation (Web + React Native)
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.