Setting the ConfigKey & ContractAddress

Learn how to set the ConfigKey, ContractAddress and register the Precompile.

ConfigKey

Just as with the MD5 precompile in the previous section, go to the module.go file and set a ConfigKey.

Contract Address

In the same file, set a ContractAddress. Choose one that has not been used by other precompiles of earlier sections.

Registration

Go to the plugin/main.go file and register the new precompile.

Is this guide helpful?

On this page

Privacy Policy

We respect your privacy and are committed to protecting your personal data. This privacy policy will inform you about how we look after your personal data and tell you about your privacy rights.

Read full policy