@skalenetwork/metaport
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

SKALE Metaport Widget

Discord GitHub Workflow Status npm NPM GitHub top language

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

GitHub

All contributions are made under the GNU Lesser General Public License v3. See LICENSE.

/@skalenetwork/metaport/

    Package Sidebar

    Install

    npm i @skalenetwork/metaport

    Weekly Downloads

    17

    Version

    2.0.3

    License

    LGPL-3.0-only

    Unpacked Size

    10.1 MB

    Total Files

    164

    Last publish

    Collaborators

    • rikon
    • dmitrytk
    • cstrange
    • skalelabsdev
    • theskyunicorn
    • stebaev
    • l_sergiy