open-index/open-npm huggingface dataset:
npm package: @scolastico-dev/env-helper
Description: `@scolastico-dev/env-helper` is a TypeScript library that simplifies working with environment variables. It provides an intuitive API to validate, parse, and define default values for environment variables. The library is especially useful in Node.js proj
Latest version: 1.0.1

# [`@scolastico-dev/env-helper`](https://github.com/scolastico-dev/env-helper)

`@scolastico-dev/env-helper` is a TypeScript library that simplifies working with environment variables. It provides an intuitive API to validate, parse, and define default values for environment variables. The library is especially useful in Node.js projects that rely on configuration management.

## Installation

Install the library using `npm`:

```bash
npm install @scolastico-dev/env-helper
```

## Usage

### Example: Configuration Service

The library can be used to create configuration services that provide environment variables with type safety and default values. Here's an example:

```typescript
import { Injectable } from '@nestjs/common';
import { $bool, $str } from '@scolastico-dev/env-helper';

@Injectable()
export class CfgService {
  /** @hidden */
  constructor() {}

  /**
   * Indicates whether Redis should be used for caching.
   * @example REDIS_ENABLED=true
   * @default false
   */
  readonly redisEnabled = $bool('REDIS_ENABLED', false);

  /**
   * The Redis connection URL.
   * @example REDIS_URL=redis://localhost:6379
   * @default redis://localhost:6379
   */
  readonly redisUrl = $str('REDIS_URL', 'redis://localhost:6379');
}
```

## Documentation

You can find the full documentation in the `docs/` folder or online at [Env Helper Docs](https://scolastico-dev.github.io/env-helper/).

## License

This project is licensed under the [MIT License](./LICENSE).
npm package: @scom/agent-attestation
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.16

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8083/
npm package: @scom/agent-repos
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.7

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8083/
npm package: @scom/agent-telegram-gated-community
Description: This Telegram bot manages group membership by verifying users who apply to join. When a user requests to join the group, the bot:
Latest version: 0.1.15

# Telegram Group Guard Bot

This Telegram bot manages group membership by verifying users who apply to join. When a user requests to join the group, the bot:

1. Retrieves the user's Telegram username.
2. Checks the username against noto to confirm if it is associated with noto's identity proof.
3. Approves the user to join the group if the related identity proof exists.

The bot ensures only users with identity proof can join the Telegram group.

## Setup
1. Add the bot to your Telegram group and set it as an administrator with permission to manage join requests.
2. In the group settings, set it to public, and toggle on "Approve new members".
3. Set up the configuration file under ```config/config.json```.

## How to start up the bot

1. Run ```docker-compose up install``` to install the dependencies.
2. Run ```docker-compose up build``` to build the project.
3. Run ```docker-compose up -d serve``` to start up the bot.

## Requirements
- Telegram Bot API token
- Configuration file under ```config/config.json```

For detailed setup or customization, refer to the bot's configuration files or contact the developer.
npm package: @scom/agent-verifier-sdk
Description: This SDK provides utilities for verifying agent attestation and enclave information.
Latest version: 0.1.1

# Agent Verifier SDK

This SDK provides utilities for verifying agent attestation and enclave information.

## Features
- Verify agent and enclave information from a remote endpoint
- Utility functions for cryptographic operations

## Getting Started

### Prerequisites
- Node.js >= 14
- npm

### Installation

Clone the repository and install dependencies:

```sh
npm install
```

### Running Tests

This project uses Mocha for testing TypeScript files. To run tests:

```sh
npm test
```

### Usage

You can use the SDK to verify agent and enclave information from a remote endpoint.

#### Example (TypeScript)

```typescript
import { verify, getEnclaveInfo } from './src/index';

(async () => {
  // Verify agent and enclave info
  const result = await verify('https://example.com', 'serverName');
  console.log('Agent Info:', result?.agentInfo);
  console.log('Enclave Info:', result?.enclaveInfo);

  // Get only enclave info
  const enclaveInfo = await getEnclaveInfo('https://example.com');
  console.log('Enclave Info:', enclaveInfo);
})();
```

## Project Structure

- `src/` - Source code
- `test/` - Test cases

## License

MIT
npm package: @scom/node
Description: To get started, follow the steps below: #### 1. Create a new file in the `/scripts` directory called `user_name.txt`. Inside the file, add your GitHub username.
Latest version: 0.1.0

# Setting up and Installing on Local Environment
To get started, follow the steps below:
#### 1. Create a new file in the `/scripts` directory called `user_name.txt`. Inside the file, add your GitHub username.

#### 2. Create another file in the `/scripts` directory called `personal_token.txt`. Inside the file, add your GitHub personal token.

#### 3. To install all the local repositories, run the following command in your terminal:
```sh
npm run setup:local
```
#### 4. Install all the dependencies by running the following command:
```sh
docker-compose up install
```
#### 5. Clone data/config.template.js into data/config.js and replace the contents with the following:
```
const RootPath = process.cwd();
const Path = require('path');
const redis = {
    host: "redis.local_network",
    port: 6379,
    password: '',
    db: 0,
};
const database = {
    type: 'mysql',
    connection: {
        host: 'db',
        port: 3306,
        user: 'root',
        password: 'ijs@work',
        database: 'sc'
    }
};
module.exports = {
    database: database,
    redis: redis,
    storage: {
        s3: {
            endpoint: '',
            bucket: '',
            key: '',
            secret: ''
        },
        localCache: {
            path: 'cache'
        }
    },
    router: {
        cors: true,
        enabled: true,
        port: 8100
    },
    scheduler: {
        enabled: true,
        // queue: redis
    },
    worker: {
        enabled: false,
        queue: redis
    },
    domains: {
        "127.0.0.1": {
            app: Path.join(RootPath, 'repos/sc-domain-marketplace/dist'),
            worker: Path.join(RootPath, 'repos/sc-domain-data'),
            plugins: {
                db: database,
                wallet: {
                    chainId: 43113,
                    accounts: [],
                    networks: {
                        43113: {
                            provider: 'https://api.avax-test.network/ext/bc/C/rpc'
                        }
                    }
                },
                cache: {
                    redis: redis
                }
            }
        }
    }
}
```
#### 6. To compile the application, run the following command:
```sh
docker-compose up build
```
#### 7. Start Redis by running the following command:
```sh
docker-compose up -d redis
```
#### 8. Start the database by running the following command:
```sh
cd mysql && docker-compose up -d db
```
#### 9. Start the application by running the following command:
```sh
docker-compose up start
```
#### 10. Finally, access the dev server by navigating to http://127.0.0.1:8100/ in your web browser..
npm package: @scom/oswap-nft-widget
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.2

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

# Test
## Step 1: Install packages
```sh
docker-compose up installTest
```

## Step 2: Run a test server
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8099/
npm package: @scom/page-block
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.5

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8020/
npm package: @scom/page-breadcrumb
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8010/
npm package: @scom/page-button
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.12

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8010/
npm package: @scom/page-form
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ``` ## Step 3: get reCaptcha key Go to https://www.google.com/recaptcha/admin/create and create a new reCaptcha 1. Enter Label 2. Choose "Challenge (v2)"
Latest version: 0.1.6

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```
## Step 3: get reCaptcha key
Go to https://www.google.com/recaptcha/admin/create and create a new reCaptcha
1. Enter Label
2. Choose "Challenge (v2)" option on "reCAPTCHA type"
3. Enter Domains
4. Click "Submit"
5. Copy site key

## Step 4: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8015/
npm package: @scom/scom-accordion
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8010/
npm package: @scom/scom-advanced-list-modal
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.3

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 4. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://localhost:8039/.
npm package: @scom/scom-amm-pool
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.17

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8077/
npm package: @scom/scom-area-chart
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.15

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-banner
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.10

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-bar-chart
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.15

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-buttons
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.0

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8010/
npm package: @scom/scom-buyback
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.11

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## For test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8055/
npm package: @scom/scom-calendar
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.1

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8038/.
npm package: @scom/scom-carousel
Description: ```sh docker-compose up install ```
Latest version: 0.1.14

## Step 1: Install packages

```sh
docker-compose up install
```

## Step 2: Build and bundle library

```sh
docker-compose up build
```

## Step 3: Run a dev server

```sh
docker-compose up -d serve
```

Access the dev server via http://127.0.0.1:8075/
el
npm package: @scom/scom-charts
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.4

# Setup and Installation for Local Testing

To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8036/.
npm package: @scom/scom-chat
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.11

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8021/
npm package: @scom/scom-code-editor
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.10

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-code-viewer
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.14

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-commission-claim
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.10

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8034/
npm package: @scom/scom-commission-fee-setup
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.1

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8080/
npm package: @scom/scom-commission-proxy-contract
Description: Run the following command: ```sh docker-compose up install ``` ## Step 2: Build library and run test ```sh docker-compose up build ```
Latest version: 0.1.9

## Step 1: Install packages
Run the following command:
```sh
docker-compose up install
```
## Step 2: Build library and run test
```sh
docker-compose up build
```

```sh
docker-compose up test
```
npm package: @scom/scom-configurator-settings
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.5

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8080/
npm package: @scom/scom-countdown
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.5

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8040/.
npm package: @scom/scom-counter
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.13

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-dapp-container
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.22

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up test
```
Access the dev server via http://127.0.0.1:8036/
npm package: @scom/scom-designer
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.46

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-designer-widget
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.4

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-disperse
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Author: openswapdex
Latest version: 0.1.12

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8096/
npm package: @scom/scom-donation
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.0

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8032/
npm package: @scom/scom-dune
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.5

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-editor
Description: ## Overview
Latest version: 0.1.21

# Scom Editor Widget

## Overview

The Scom Editor Widget is a powerful and customizable editor component designed to provide a rich text editing experience. It supports various features such as custom widgets, block management, and theme customization.

## Features

- **Custom Widgets**: Easily add and manage custom widgets within the editor.
- **Block Management**: Insert, update, and manage different types of content blocks.
- **Theme Customization**: Customize the editor's appearance with light and dark themes.
- **Toolbar and Menus**: Utilize toolbars and menus for formatting and inserting content.

## Installation

### Step 1: Install Packages

To install the necessary packages, run the following command:

```sh
docker-compose up install

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8025/

## Usage
To use the Scom Editor Widget in your project, import it and include it in your component as follows:
```tsx
render() {
    return (
        <i-panel>           
            <i-scom-editor
                id="postEditor"
                font={{ size: '1.25rem', color: Theme.text.primary }}
                cursor="text"
            ></i-scom-editor>
        </i-panel>
    )
}
```
npm package: @scom/scom-emoji-picker
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8032/
npm package: @scom/scom-enclave-attestation
Description: ```sh docker compose run --rm install ``` <!--## To build ```sh docker compose run --rm build ```--> ## To get an attestation document Run the commands from https://github.com/scom-repos/scom-enclaves?tab=readme-ov-file#to-get-attestation-document on an E
Latest version: 0.1.1

# Remote Attestation
## To install
```sh
docker compose run --rm install
```
<!--## To build
```sh
docker compose run --rm build
```-->
## To get an attestation document
Run the commands from https://github.com/scom-repos/scom-enclaves?tab=readme-ov-file#to-get-attestation-document on an EC2 instance and transfer the `doc.cbor` file to `test/` directory.

## To test in cmd
```sh
docker compose run --rm test
```
## To test in browser
```
docker compose up browser-test
```
Go to http://127.0.0.1:8008/

## PCRs
From https://docs.aws.amazon.com/enclaves/latest/user/set-up-attestation.html#where for the meanings of pcr0-8
| PCR | Hash of ... | Description |
| --- | --- | --- |
| PCR0 | Enclave image file | A contiguous measure of the contents of the image file, without the section data. |
| PCR1 | Linux kernel and bootstrap | A contiguous measurement of the kernel and boot ramfs data. |
| PCR2 | Application | A contiguous, in-order measurement of the user applications, without the boot ramfs. |
| PCR3 | IAM role assigned to the parent instance | A contiguous measurement of the IAM role assigned to the parent instance. Ensures that the attestation process succeeds only when the parent instance has the correct IAM role. |
|PCR4 | Instance ID of the parent instance | A contiguous measurement of the ID of the parent instance. Ensures that the attestation process succeeds only when the parent instance has a specific instance ID. |
| PCR8 | Enclave image file signing certificate | A measure of the signing certificate specified for the enclave image file. Ensures that the attestation process succeeds only when the enclave was booted from an enclave image file signed by a specific certificate. |
npm package: @scom/scom-facebook-scraper
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.0

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8021/
npm package: @scom/scom-feed
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.13

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8021/
npm package: @scom/scom-flipside
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.1

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8696/
npm package: @scom/scom-flow
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.4

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run test
```sh
docker-compose up -d test
```
Access the dev server via http://127.0.0.1:8010/
npm package: @scom/scom-gem-token
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.23

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```


## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```
Access the dev server via http://127.0.0.1:8033/
npm package: @scom/scom-gem-token-contract
Description: Run the following command to install the dependencies: ```sh docker-compose up install ``` --- ## Deploying contracts #### 1. Run the following command to start a local server for the deployer application: ```sh docker-compose up deployer ``` #### 2. Open
Latest version: 0.1.0

## Installation
Run the following command to install the dependencies:
```sh
docker-compose up install
```
---
## Deploying contracts
#### 1. Run the following command to start a local server for the deployer application:
```sh
docker-compose up deployer
```
#### 2. Open the application at http://127.0.0.1:8055/.
---
## Contribution
Before committing your changes, please do the following steps:
#### 1. Run the following command to re-compile the contracts:
```sh
docker-compose up build
```
#### 2. Run the following command to go through all the test suites:
```sh
docker-compose up test
```
npm package: @scom/scom-gif-picker
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.2

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8032/
npm package: @scom/scom-governance-execute-proposal
Description: ## Step 1: Install packages ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

# scom-governance-execute-proposal

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8058/
npm package: @scom/scom-governance-proposal
Description: ## Step 1: Install packages ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.4

# scom-governance-proposal

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8057/
npm package: @scom/scom-governance-staking
Description: ## Step 1: Install packages ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.4

# scom-governance-staking

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8056/
npm package: @scom/scom-governance-unlock-staking
Description: ## Step 1: Install packages ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.0

# scom-governance-unlock-staking

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8056/
npm package: @scom/scom-governance-voting
Description: ## Step 1: Install packages ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

# scom-governance-voting

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8058/
npm package: @scom/scom-group-queue-pair
Description: Create a group queue pair by calling OSWAP_RestrictedFactory.createPair(address tokenA, address tokenB)
Latest version: 0.1.4

# scom-group-queue-pair
Create a group queue pair by calling OSWAP_RestrictedFactory.createPair(address tokenA, address tokenB)

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## For test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8055/
npm package: @scom/scom-image
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.27

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 4. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-image-gallery
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.12

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 4. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8035/.
npm package: @scom/scom-investor-claim
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.1

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

### Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8079/
npm package: @scom/scom-invoice
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.1

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8038/.
npm package: @scom/scom-ipfs-explorer
Description: ```sh docker-compose up install ```
Latest version: 0.1.5

## Step 1: Install packages

```sh
docker-compose up install
```

## Step 2: Build and bundle library

```sh
docker-compose up build
```

## Step 3: Run a dev server

```sh
docker-compose up serve
```

Access the dev server via http://127.0.0.1:8080/
npm package: @scom/scom-line-chart
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.15

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-liquidity-provider
Description: Add liquidity to group queue offer by calling OSWAP_RestrictedLiquidityProvider.addLiquidityAndTrader
Latest version: 0.1.3

# scom-liquidity-provider
Add liquidity to group queue offer by calling OSWAP_RestrictedLiquidityProvider.addLiquidityAndTrader

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Test
## Step 3: Install packages
```sh
docker-compose up installTest
```

## Step 4: Build and bundle library
```sh
docker-compose up test
```

Access the dev server via http://127.0.0.1:8096/
npm package: @scom/scom-map
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.10

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Testing:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8039/.
npm package: @scom/scom-markdown-editor
Description: run the following commands: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.19

## Step 1: Install packages
run the following commands:
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8080/
npm package: @scom/scom-master-bot-command-widget
Description: 1. Start up the scom-master-bot. You may click [here]('https://github.com/scom-repos/scom-master-bot/blob/master/README.md') to check out how to start up the scom-master-bot. 2. Go to https://noto.fan/!#/messages, click on the master bot to start the cha
Latest version: 0.1.1

# How to interact with the master bot widget?
1. Start up the scom-master-bot. You may click [here]('https://github.com/scom-repos/scom-master-bot/blob/master/README.md') to check out how to start up the scom-master-bot.
2. Go to https://noto.fan/!#/messages, click on the master bot to start the chat.
3. Type `/cmd` and click "Send".
4. There should be a widget prompt out from the chat window.

# Example 1: Starting scraper bot using master bot widget
1. Click on "Manage image" > "pull", in the image name text field, type in `benhoijs/scom-scraper-bot:latest`.
2. Click on "Execute".
3. You can confirm if the master bot has successfully pull the image or not by checking the image list under "Manage image" > "list".
4. Go to "Manage container" > "create"
5. In the imageName field, type in "benhoijs/scom-scraper-bot:latest"
6. In the containerName field, type in "scraper-bot".
7. In the dockerConfig field, copy the following text and paste to the dockerConfig field:
`{"ExposedPorts": {"8080/tcp": {}},"HostConfig": {"PortBindings":  {"8080/tcp": [{"HostPort": "8080"}]}}}`
8. Click on "Execute".
9. Go to "Manage container" > "config".
10. In container field, type in "scraper-bot".
11. In configPath, type in "config/config.js".
12. In config field, fill in the config of the scraper bot.
13. The scraper bot should be ready to use.

# Example 2: Starting video converter service using master bot widget
1. Click on "Manage image" > "pull", in the image name text field, type in `benhoijs/scom-video-converter:latest`.
2. Click on "Execute".
3. You can confirm if the master bot has successfully pull the image or not by checking the image list under "Manage image" > "list".
4. Go to "Manage container" > "create"
5. In the imageName field, type in "benhoijs/scom-video-converter:latest"
6. In the containerName field, type in "video-converter".
7. In the dockerConfig field, copy the following text and paste to the dockerConfig field:
`{"ExposedPorts": {"8200/tcp": {}},"HostConfig": {"PortBindings":  {"8200/tcp": [{"HostPort": "8200"}]}}}`
8. Click on "Execute".
9. The video converter service should be started on port 8200. You may click [here](https://github.com/scom-repos/scom-video-converter/blob/main/README.md) to see how to use the video converter service.
npm package: @scom/scom-media-player
Description: To get started with testing locally, follow these steps:
Latest version: 0.1.5

# Setup and Installation for Local Testing
To get started with testing locally, follow these steps:

#### 1: Install the required packages using the following command:

```sh
docker-compose up install
```

#### 2: Build and bundle the library using the following command:

```sh
docker-compose up build
```

#### 3. Run a development server using the following command:

```sh
docker-compose up test
```

You can access the development server via http://127.0.0.1:8038/.
npm package: @scom/scom-mixed-chart
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.14

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up -d serve
```
Access the dev server via http://127.0.0.1:8075/
npm package: @scom/scom-multi-select-filter
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.3

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up test
```
Access the dev server via http://127.0.0.1:8080/
npm package: @scom/scom-network-picker
Description: ```sh docker-compose up install ``` ## Step 2: Build and bundle library ```sh docker-compose up build ```
Latest version: 0.1.11

## Step 1: Install packages
```sh
docker-compose up install
```
## Step 2: Build and bundle library
```sh
docker-compose up build
```

## Step 3: Run a dev server
```sh
docker-compose up test
```
Access the dev server via http://127.0.0.1:8083/
npm package: @scom/scom-nft-minter
Description: The `i-scom-nft-minter` is a widget designed to facilitate the creation and management of NFTs (Non-Fungible Tokens) on various blockchain networks. This widget supports both ERC721 and ERC1155 standards, allowing users to mint, manage, and interact with 
Latest version: 0.1.27

# @scom/scom-nft-minter

The `i-scom-nft-minter` is a widget designed to facilitate the creation and management of NFTs (Non-Fungible Tokens) on various blockchain networks. This widget supports both ERC721 and ERC1155 standards, allowing users to mint, manage, and interact with NFTs seamlessly.

## Features

- **Multi-Chain Support**: Compatible with multiple blockchain networks.
- **ERC721 and ERC1155 Standards**: Supports both popular NFT standards.
- **Customizable Properties**: Easily configure properties such as name, title, NFT type, chain ID, and more.
- **User-Friendly Interface**: Intuitive UI for managing NFTs.
- **Integration with Wallets**: Connects with various wallet plugins for seamless transactions.
- **Dynamic Configuration**: Supports dynamic configuration and customization through embedded data.

## Installation

Follow the steps below to install and set up the Scom NFT Minter widget.

### Step 1: Install packages

Run the following command to install the necessary packages:

```sh
docker-compose up install
```

### Step 2: Build and bundle library

Build and bundle the library using the command:

```sh
docker-compose up build
```

### Test

#### Step 3: Install test packages

Install the packages required for testing:

```sh
docker-compose up installTest
```

#### Step 4: Build and run tests

Build the library and run the tests using the command:

```sh
docker-compose up test
```

Access the dev server via [http://localhost:8080/](http://localhost:8080/)

## Usage
To use the Scom NFT Minter Widget in your project, import it and include it in your component as follows:

```tsx
render() {
    return (
        <i-panel>           
            <i-scom-nft-minter
                id="nftMinter"
                nftType={'ERC1155'}
                nftAddress="0xDB301a9Ef98843376C835aFB41608d6A319e138D"
                tokenToMint={nullAddress} //Native token
                recipients={["0x0000000000000000000000000000000000000000", "0x1111111111111111111111111111111111111111"]}
                erc1155Index={1}
                chainId={43113}
                networks={[
                {
                    chainId: 43113
                }
                ]}
                defaultChainId={43113}
                wallets={[{ name: 'metamask' }]}
          />
        </i-panel>
    )
}
```
```