Collection of scripts for interacting with the Registry contract.
All scripts are run via blueprint:
npx blueprint run <script_name> <arguments>Reads the current state of the Registry contract
npx blueprint run getRegistryData <registry_address>Parameters:
registry_address- Registry contract address
Example:
npx blueprint run getRegistryData EQA1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefValidates a router in the registry
npx blueprint run validateRouter <registry_address> <router_address>Parameters:
registry_address- Registry contract addressrouter_address- Router address to validateresponse_address- Address to receive the response
Example:
npx blueprint run validateRouter EQA123... EQB456...Retrieves all routers from the registry
npx blueprint run getAllRouters <registry_address>Parameters:
registry_address- Registry contract address
Example:
npx blueprint run getAllRouters EQA123...Note: The response (AllRoutersMessage) will be sent to your address containing the complete router dictionary.
- All scripts use 0.05 TON for gas
- queryId is automatically generated based on current timestamp