Skip to main content

Pointer contracts

Sei runs two token execution environments side by side: EVM and CosmWasm. Pointer contracts are automatically deployed EVM contracts that proxy a CosmWasm token, and vice versa.
This guide covers pointers only for CosmWasm contracts that are already deployed. It does not document native-denom pointer workflows. IBC is disabled in both directions. Tokenfactory is not a supported development path. See IBC is disabled and Tokenfactory is not supported.
After you have the pointer address, you interact with it through the standard ERC-20, ERC-721, or ERC-1155 interface. For background on how pointer contracts work, see the Pointers overview.

Looking up a pointer address

The pointerview precompile resolves pointer addresses for existing CosmWasm contracts. @sei-js/precompiles exports its ABI and address.
The return value includes the pointer address and an exists boolean. Check exists before you interact with the pointer. Not all CosmWasm tokens have a deployed pointer.

Interacting with a CW20 pointer as ERC-20

After you have the pointer address, use it as a standard ERC-20 contract.

Interacting with a CW721 pointer as ERC-721

For full ERC-20 and ERC-721 examples, including transfers, approvals, and events, see the ERC-20 and ERC-721 pages.