This section will explain how to properly interact with the Wormhome Core Layer in an EVM ecosystem.
# Configuring the Interface
- Get the interface from the repo
- Instantiate it with the core layer contract address for your blockchain. This is dependent on your development ecosystem and blockchain. This value is usually stored in your contract state.
//TODO example line of code for instantiating the interface for mainnet Ethereum
## Primary functions
The Wormhole Core Layer effectively only has two important interactions. The ability to emit messages, and the ability to verify messages which originated from other chains.
### Emitting a Message
- Always uses publish message
- explain every argument
- be sure to mention batch VAAs
### Verifying a Message
- Explain how a message should be taken in as a byte array
- Be cognizant of Batch VAAs vs Single VAAs
- entrypoint code vs module code. If using single VAAs, these are the same, but batch VAAs are more complicated to verify
- remember to collect your gas after all the VAAs have been verified