Admin Guide¶
Synapse-Etherscan Admin Guide¶
Configuration¶
Synapse-Etherscan does not require an Etherscan API key, but one may be provided for additional functionality and increased rate limits.
For information on how to sign up, please visit the Etherscan API documentation.
Setting API key for global use¶
To set-up a global API key for Etherscan:
> etherscan.setup.apikey eth myapikey
Setting Etherscan (eth) API key for all users.
To set-up a global API key for Polygonscan:
> etherscan.setup.apikey polygon myapikey
Setting Etherscan (polygon) API key for all users.
Using per-user API keys¶
A user may set-up their own API key:
> etherscan.setup.apikey eth --self myapikey
Setting Etherscan (eth) API key for the current user.
Permissions¶
Package (synapse-etherscan) defines the following permissions:
power-ups.etherscan.user : Controls user access to Synapse-Etherscan.
You may add rules to users/roles directly from storm:
> auth.user.addrule visi power-ups.etherscan.user
User (visi) added rule: power-ups.etherscan.user
or:
> auth.role.addrule ninjas power-ups.etherscan.user
Role (ninjas) added rule: power-ups.etherscan.user
Exported APIs¶
Synapse-Etherscan does not currently export any APIs.
Workflows¶
Synapse-Etherscan provides the following workflows in Optic:
Title: Configuration
Title: Crypto Explorer
Node Actions¶
Synapse-Etherscan provides the following node actions in Optic:
Name : enrich
Desc : Enrich nodes using Synapse-Etherscan
Forms: crypto:currency:address, crypto:currency:transaction, crypto:smart:contract