parent
89ee802e7b
commit
320040ec87
|
@ -1,6 +1,8 @@
|
|||
# Registering Emitters: EVM
|
||||
|
||||
Specifying applications that our EVM application is allowed to listen to is a fairly simple process; We can create a mapping of chainId to bytes32 addresses of the relevant contracts on other chains. The chainId used here is the *wormhole* chainId, and the address used here is the address in *bytes*.
|
||||
To specify applications that our EVM application is allowed to listen to, we can create a mapping of chainId to bytes32 addresses of the relevant contracts on other chains.
|
||||
|
||||
The chainId used here is the *wormhole* chainId, and the address used here is the address in *bytes*.
|
||||
|
||||
```solidity
|
||||
|
||||
|
@ -23,4 +25,4 @@ contract Messenger {
|
|||
}
|
||||
```
|
||||
|
||||
If you have more than one address per chainId that you want to listen to, consider making the mapping into bytes32[].
|
||||
If you have more than one address per chainId that you want to listen to, consider making the mapping into bytes32[].
|
||||
|
|
Loading…
Reference in New Issue