abitype
permit2
abitype | permit2 | |
---|---|---|
2 | 5 | |
437 | 667 | |
3.2% | 2.7% | |
8.5 | 5.1 | |
about 2 months ago | 3 months ago | |
TypeScript | Solidity | |
MIT License | MIT License |
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.
abitype
-
Web 3.0 frontend stacks in 2023
wagmi is React Hooks built on top of ethers.js. There are many such libs, but I think this is best. -> wagmi's Comparison To Other Libraries wagmi provide TypeScript types for Ethereum ABIs and this works with zod schema. This brings more strict typecheck for dApp. -> ABIType Also wagmi’s hooks are very useful, such as useContractReads. It's wrapping Multicall3 for multiple read-calls.
- So you think you're good at Typescript? This is a function that takes JSON data (for a smart, contract interface) and parses it out into the specific types and function signatures available to interact with
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”.
What are some alternatives?
token-lists - 📚 The Token Lists specification
Permit-Phishing - The demonstration of a fake EIP2612 signature for stealing ERC20 tokens with Permit2
zustand - 🐻 Bear necessities for state management in React
Recoil - Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.
jotai-form - Form atoms for Jotai
vite - Next generation frontend tooling. It's fast!
jotai - 👻 Primitive and flexible state management for React
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
headlessui - Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
tokensWithPermitFunctionList - An in complete list of tokens with permit function