Yizhuo
Yizhuo
## What happens? 使用 WagmiWeb3ConfigProvider,在配置中使用base链的配置之后,控制台会报错 Can not find chain 8453, you should config it in WagmiWeb3ConfigProvider 'chains'. 但其实wagmi是支持base链的。 虽然请求还是可以正常发起被处理 目前发现base和 baseSepolia 会报错,其他的没有尝试过 ## How To Reproduce **Steps to reproduce the...
After entering the mnemonic phrase, it could be hidden. maybe i can help use scene: chrome extension
## What happens? const { account } = useAccount() 此时的 account 的类型是 any const { account } = useAccount() ## Context - **Ant Design Web3 Version**: - **Node Version**: -...
## Background 现在登录之后,往往会接着一次签名。是否可以做成一个配置项,在 connected 之后可以自动签名。 ## Proposal 目前想法可以参考 ConnectKit,它是设置了一个新的 Provider,然后在外面套了这一层内容 ```typescript type SIWEConfig = { // Required getNonce: () => Promise; createMessage: (args: { nonce: string; address: string; chainId: number...
## What happens? 在项目中如果设置了ant 的 token,会影响到 modal 组件的展示。有点奇怪的地方在于我没有在 token 中设置 padding 相关的 token,但是 modal 的 padding 却发生了变化。 追踪了一下, token 里面的 wireframe: true 会导致 padding 变化 ## How To Reproduce https://codesandbox.io/p/sandbox/happy-wescoff-3n3qz5?file=%2FApp.tsx%3A80%2C15...
## Background 现在在获取当前连接钱包的信息时,用的是 useAccount hook,但是这个 hook 只有 address 的信息,其实还需要 chain 的信息。 当然,可以使用 wagmi 的 useAccount 来获取,但是这么一写就感觉两个同名 hook 会不太优雅。 不过,如果要加一个 chain 的话,还需要考虑非 EVM 等异构链上,chain 的信息不一致(比如没有 chainId ) ## Proposal Describe the...
## What happens? 目前我们的连接状态是通过是否有 address 来判断,但是在钱包锁定的情况下,address 依旧是可以取到的,但是和 connector 相关的 操作都会导致失败。 ## How To Reproduce **Steps to reproduce the behavior:** 1. 2. **Expected behavior** 1. 2. 1. 正常连接钱包 2. 新起一个新的 tab,关闭之前的...
## Background 有一些 CryptoInput 的新需求在这里进行总结,会不定期更新: - [ ] 1. Token 的总体价格应该支持自定义,现在是通过 balance 的 price 计算出来的,会有精度的问题 - [ ] 2. 这个组件最大的应用场景应该是 Swap 的场景,但是目前支持的比较弱 ## Proposal Describe the solution you'd like, better...
## What happens? 断开okx 的钱包的时候,没有真的断开 ## How To Reproduce **Steps to reproduce the behavior:** 1. 2. **Expected behavior** 1. 2. ## Context - **Ant Design Web3 Version**: - **Node Version**:...
## Background 类似于 ## Proposal ## Additional context Add any other context or screenshots about the feature request here.