Skip to content

Pony-Unicorn/web3-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexagon - Web3 App Starter Kit

Getting Started

Node Js: Use .nvmrc file for management, the version is lts/iron, it is recommended to use fnm as version management

依赖包管理:必须使用 pnpm,版本为 9.1.4

Use

npx degit Pony-Unicorn/web3-framework my-project

cd my-project

pnpm install

Development

pnpm dev

Coding Standards

Core Dependencies

  • Wagmi - Wagmi Reactivity for Ethereum apps
  • viem - Ethereum library
  • @reown/appkit - Wallet connection manager
  • zustand In fact, maybe you really don’t need state management in nextjs

User Interface

Developer Experience

  • TypeScript – Static type checker for end-to-end typesafety
  • Prettier – Opinionated code formatter for consistent code style
  • ESLint – Pluggable linter for Next.js and TypeScript
  • AssetPack – AssetPack is a tool for optimising assets for the web. It can be used to transform, combine, compress assets. Any asset that you want to transform or optimise into something else can be done with AssetPack.

AI Editor cursor rules

目录结构

Todo

  • 布局组件 flex、box、grid
  • 面板弹窗管理
  • 框架优化
    • 合约调用返回错误,框架中没有友好的提示 viem 的错误处理
      • console.log("error message >>>", error?.message.split("\n")[2])

bug

多语言注意事项

  • 配置多语言后,需要使用src/navigation 中的 Link, redirect, usePathname, useRouter

待处理

  • 合约:获取地址、获取链id、读取合约、写合约
  • 更新 pnpm
  • 升级依赖到最新版

About

Web3 App framework built using Next.js, reown/appkit and more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published