Registering Your Precompile
Learn how to register your precompile.
The next step in developing our precompile is to register it with precompile-evm. For this, take a look at plugin/main.go
. You should see the following file:
As of now, we do not have any precompile registered. As a first step, register the SHA-256 precompile. Your updated file should look like the following:
Now, register the MD5 precompile using the same format as for the SHA-256 precompile. Add the necessary line to main.go
so that we can use the MD5 precompile.