@wharfkit/protocol-scatter
v4.0.2
Published
Abstract methods useful to all Scatter-based wallet plugins
Readme
@wharfkit/protocol-scatter
Abstract functions for use by various Scatter-based wallet plugins.
Browser only
The Scatter protocol runs in a browser. Importing this package is safe in any environment, including Node.js, and the browser dependencies load only when getScatter runs. Calling getScatter, handleLogin, handleLogout or handleSignatureRequest outside a browser throws.
A wallet plugin built on this package can therefore import it directly and let the error surface, rather than guarding the import itself.
Contributing
This package is developed in the wharfkit/js monorepo. See its README for how to build and test.
Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.
