SKALE Metaport Widget
Metaport is a Typescript/Javascript widget that could be embeded into a web application to add IMA functionality to any SKALE dApp.
Documentation
See https://docs.skale.network/metaport/1.1.x/
Development
Storybook preview
bash prepare_meta.sh && bun install && bun build:lib
bun dev
Debug mode
To enable debug mode, set debug
environment variable to true
:
const metaport = new Metaport({
...
debug: false // Enable debug mode (optional, default = false)
...
});
Additionally, you can enable debug logs in developer console by enabling Verbose
level of logs.
Linter git hook
Be sure to add pre-commit git hook:
echo 'bun lint' > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
Security and Liability
The Metaport UI and code is WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
License
All contributions are made under the GNU Lesser General Public License v3. See LICENSE.