# Portal Web SDK

Welcome to the `@portal-hq/web` SDK, the official TypeScript library for integrating Portal's features into your web applications. This package enables you to seamlessly incorporate embedded MPC wallets.

## Features

- **Portal Class Constructor**: Initialize the Portal instance in your application.
- **PortalContext Provider**: Expose the Portal instance to your React component tree.
- **usePortal Hook**: Consume the Portal instance within your child components for easy access and interaction.
- **Types and Enums**: Utilize helper types and enums for efficient development with the Portal SDK.
- **Configurable Log Level**: Control SDK logging via `logLevel` and `logger` options and the `setLogLevel` / `getLogLevel` methods.

## Documentation

For a comprehensive guide and API reference, please visit our [documentation portal](https://docs.portalhq.io/sdk/web).

## Quick Start

### Prerequisites

- Node.js and npm or yarn installed.
- Basic knowledge of TypeScript and React.
- Access to a Portal Account.

### Installation

Install the SDK package using npm or yarn:

```bash
npm install @portal-hq/web
# or
yarn add @portal-hq/web
```

### Support

For issues or questions please reach out to our support team at support@portalhq.io.
