You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(ox)[https://oxlib.sh/] exposes Hash, so we can get rid of calling import { keccak_256 } from '@noble/hashes/sha3'; directly, so we won't need to worry about the peerDependency.
I've been meaning to add more abitype-style types throughout WhatsABI, now it's a bit easier because we can use ox's exposed types too. For example, import type Address from "ox/Address" should get us that.
The text was updated successfully, but these errors were encountered:
(ox)[https://oxlib.sh/] exposes Hash, so we can get rid of calling
import { keccak_256 } from '@noble/hashes/sha3';
directly, so we won't need to worry about the peerDependency.In general can probably move most of https://github.com/shazow/whatsabi/blob/main/src/utils.ts into using ox instead.
I've been meaning to add more abitype-style types throughout WhatsABI, now it's a bit easier because we can use ox's exposed types too. For example,
import type Address from "ox/Address"
should get us that.The text was updated successfully, but these errors were encountered: