β¨ Add Support for Hemi and Lens #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π Changelog
This PR adds support for the following additional chains:
hemi, chain ID:43111),lens, chain ID:232).All supported chains that use the Safe transaction service API can be retrieved via:
curl -s https://safe-config.safe.global/api/v1/chains/ | jq '.results[].chainName'Test Example
hemi:./safe_hashes.sh --network hemi --address 0xAFE7041797E8916616952a719971575f352e2b0d --nonce 7returns:
Now compare with https://app.safe.global/transactions/tx?safe=hemi:0xAFE7041797E8916616952a719971575f352e2b0d&id=multisig_0xAFE7041797E8916616952a719971575f352e2b0d_0x32b6a87f7eda92b27ad946aff18ba83fe95153a5c83246ad11b1ae8f38929da2.
Test Example
lens:./safe_hashes.sh --network lens --address 0x49b0EA5B0691D460F2026EF98CfB3819E2e9f97d --nonce 3returns:
Now compare with https://app.safe.global/transactions/tx?safe=lens:0x49b0EA5B0691D460F2026EF98CfB3819E2e9f97d&id=multisig_0x49b0EA5B0691D460F2026EF98CfB3819E2e9f97d_0xd27de09d8a15ed30e06e4d3ffdc78873a7760c0d68823b5e13bcc3ff9d7f43e2.