wrap-cli
wrap-cli copied to clipboard
`client.validate(uri)` - Validate Wrapper->Client Compatibility
Is your feature request related to a problem? Please describe. Currently, integrators of wrappers do not have an easy way to determine if a wrapper will run successfully within the client's current configuration. We need a simple method to help answer the question "can this client run this wrapper?"
Describe the solution you'd like Ahead-of-time dependency availability detection for wrappers, helping ensure wrappers will execute successfully without any dependency related errors (not found, mismatched abi, etc).
Available through a simple client.validate(...) function, that internally does things like:
- resolves wrapper
- resolves all dependencies
- ensures dependencies are the correct ABI that the wrapper is expecting
NOTE: we can provide feature toggles to toggle on/off various validation checks.