Using Existing Storage Solutions
ScriptyBuilder
is storage agnostic. You can fetch scripts from ScriptyStorage
or from other contracts.
Your script provider contract should conform to IContractScript
:
Then, while creating your JS requests, you should use your custom storage contract address rather than ScriptyStorage
address.
The above example will fetch scrityBase
script from scriptyStorage
address and someScriptFromOtherStorage
from someCustomContract
address.
Last updated