Add elrond-wasm-modules to your dependencies:
[dependency.elrond-wasm-modules]
version = "0.34.0"
Import the following module: https://github.com/ElrondNetwork/elrond-wasm-rs/blob/master/elrond-wasm-modules/src/dns.rs
pub trait MyContract: elrond_wasm_modules::dns::DnsModule {}
And then you'll have access to the dnsRegister endpoint.
cc @AndreiMarinica
Add elrond-wasm-modules to your dependencies: [dependency.elrond-wasm-modules] version = "0.34.0" Import the following module: https://github.com/ElrondNetwork/elrond-wasm-rs/blob/master/elrond-wasm-modules/src/dns.rs pub trait MyContract: elrond_wasm_modules::dns::DnsModule {} And then you'll have access to the dnsRegister endpoint.