@scom/scom-subscription
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@scom/scom-subscription

Overview

The i-scom-subscription widget is a subscription management tool designed to integrate seamlessly with blockchain-based applications. It provides functionalities for managing product subscriptions, handling discounts, and interacting with various blockchain networks and wallets.

Features

  • Subscription Management: Easily manage product subscriptions, including creating, renewing, and fetching subscription details.
  • Discount Handling: Apply discount rules to subscriptions based on predefined criteria.
  • Blockchain Integration: Interact with blockchain networks and smart contracts to fetch product information and manage payments.
  • Wallet Support: Supports multiple wallet providers, including MetaMask and WalletConnect.
  • Token Management: Fetch and manage token information and balances.

Installation

Step 1: Install packages

docker-compose up install

Step 2: Build and bundle library

docker-compose up build

Step 3: Run test

docker-compose up -d test

Access the dev server via http://localhost:8080/

Usage

To use the Scom Editor Widget in your project, import it and include it in your component as follows:

render() {
    return (
        <i-panel>           
            <i-scom-subscription id="subscription"></i-scom-subscription>
        </i-panel>
    )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @scom/scom-subscription

Weekly Downloads

154

Version

0.1.7

License

none

Unpacked Size

376 kB

Total Files

8

Last publish

Collaborators

  • ijstech