ERC
Plugin for adding ERC ABIs into configuration.
import { erc } from '@wagmi/cli/plugins'
Usage
import { defineConfig } from '@wagmi/cli'
import { erc } from '@wagmi/cli/plugins'
export default defineConfig({
plugins: [
erc({
20: true,
721: true,
}),
],
})
Configuration
20 (optional)
Adds ERC-20 ABI into configuration. Defaults to true
.
import { defineConfig } from '@wagmi/cli'
import { erc } from '@wagmi/cli/plugins'
export default defineConfig({
plugins: [
erc({
20: true,
}),
],
})
721 (optional)
Adds ERC-721 ABI into configuration. Defaults to true
.
import { defineConfig } from '@wagmi/cli'
import { erc } from '@wagmi/cli/plugins'
export default defineConfig({
plugins: [
erc({
721: true,
}),
],
})
4626 (optional)
Adds ERC-4626 ABI into configuration. Defaults to true
.
import { defineConfig } from '@wagmi/cli'
import { erc } from '@wagmi/cli/plugins'
export default defineConfig({
plugins: [
erc({
4626: true,
}),
],
})