Update Mithril Signer
In this example we will update from Mithril Signer version 0.2.209 to 0.2.221 - Updated: 12/17/2024
Last updated
In this example we will update from Mithril Signer version 0.2.209 to 0.2.221 - Updated: 12/17/2024
Last updated
Please note this update didn't require any changes to the configuration files. Other updates may require changes to additional files.
Credits to Earn Coin Pool for documenting the procedure.
📢 The Mithril team has created a one-line command to update your Mithril Signer. If you prefer that method see command and note below.
"You can easily update your Mithril signer with this one line command (it will be downloaded in the current directory, a custom folder can be specified with -p option):"
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/input-output-hk/mithril/refs/heads/main/mithril-install.sh | sh -s -- -c mithril-signer -d 2450.0 -p $(pwd)
If you prefer to compile on your own see steps below 👇.
The following updates are done just on your Block Producer.
On Block Producer, run the following command to update Rust:
Clone the Mithril git to your git folder. Run:
To find the current version go to https://github.com/input-output-hk/mithril/releases/latest and look for latest version. In this case the current version is Mithril v2450.0
Always make sure the version is compatible with Mainnet before updating
Don't get the tag version of Mithril v2450.0 confused with the version of the Mithril Signer in this case 0.2.221 The Crate versions are different from the tag version.
To checkout current version in this case Mithril v2450.0, first change to Mithril folder in git and then checkout version. Run:
Stay in $HOME/git/mithril/mithril-signer
folder and then run:
We keep our mithril signer in the following folder, please adjust to your path.
$NODE_HOME/mithril-signer
Check version run:
We keep our mithril signer in the following folder, please adjust to your path.
$NODE_HOME/mithril-signer
Check status
If you have the correct version and the status is good, go ahead and clean up files.
Download the script into the mithril-signer directory
Make the script executable:
Run Script:
Replace "**POOL_ID**" with your pool ID, example below
Example:
PARTY_ID=pool16cdtqyk0fvxzfkhjg3esjcuty4tnlpds5lj0lkmqmwdjyzaj7p8 AGGREGATOR_ENDPOINT=https://aggregator.release-mainnet.api.mithril.network/aggregator ./verify_signer_registration.sh
If your signer is registered, you should see this message:
If this is an error with registration you will see this message:
Download the script into the mithril-signer directory
Make the script executable:
Run Script:
Replace "**POOL_ID**" with your pool ID, example below
Example:
PARTY_ID=pool16cdtqyk0fvxzfkhjg3esjcuty4tnlpds5lj0lkmqmwdjyzaj7p8 AGGREGATOR_ENDPOINT=https://aggregator.release-mainnet.api.mithril.network/aggregator
./verify_signer_signature.sh
If your signer is contributing, you should see this message:
Otherwise, you should see this error message:
Mithril Explorer: https://mithril.network/explorer/?aggregator=https%3A%2F%2Faggregator.release-mainnet.api.mithril.network%2Faggregator
Additional sources which helped create this guide: https://mithril.network/doc/manual/getting-started/run-signer-node/
Thanks to the following pools for helping to put together these guides. Please consider delegating to their pools to support them. Are you a pool? Consider buying them a coffee