open-index/open-npm huggingface dataset:
npm package: @starknet-io/get-starknet
Description: [![npm](https://img.shields.io/npm/v/%40starknet-io%2Fget-starknet)](https://www.npmjs.com/package/@starknet-io/get-starknet)
Latest version: 4.0.8

# get-starknet

[![npm](https://img.shields.io/npm/v/%40starknet-io%2Fget-starknet)](https://www.npmjs.com/package/@starknet-io/get-starknet)

## Goals

- ❤️‍🩹 Allow Starknet dApps and wallets to seamlessly connect
- 🪶 Lightweight and easy to use
- 🏎 Fast integration, building and testing
- ⚙️ Customizable and extensible
- 🌍 Open source and controlled by the community

## Installation

```
# using npm
npm install @starknet-io/get-starknet starknet

# using yarn
yarn add @starknet-io/get-starknet starknet

# using pnpm
pnpm add @starknet-io/get-starknet starknet
```

Read more about the new Starkent Dapp<>Wallet API in the
[post](https://community.starknet.io/t/new-starknet-wallet-dapp-api/114295)

## Usage for dApp developers

You can use the built-in UI to connect to any Starknet wallet as fast as
possible like this:

```tsx
import { connect, disconnect } from "@starknet-io/get-starknet"

return <button onClick={() => connect()}>Connect wallet</button>
```

### Advanced usage

You can also choose to customize the UI by overwriting the CSS classes, or by
implementing your very own UI. This is possible due to a split into a `core` and
`ui` package. As a library author or dapp developer who wants to implement a
custom UI, you can use the `core` package.

```tsx
import {
  disconnect,
  enable,
  getAvailableWallets,
  getDiscoveryWallets,
  getLastConnectedWallet,
  getPreAuthorizedWallets,
} from "@starknet-io/get-starknet-core"

interface GetStarknetResult {
  // Returns all wallets available in the window object
  getAvailableWallets: (
    options?: GetWalletOptions,
  ) => Promise<StarknetWindowObject[]>
  // Returns only preauthorized wallets available in the window object
  getPreAuthorizedWallets: (
    options?: GetWalletOptions,
  ) => Promise<StarknetWindowObject[]>
  // Returns all wallets in existence (from discovery file)
  getDiscoveryWallets: (options?: GetWalletOptions) => Promise<WalletProvider[]>
  // Returns the last wallet connected when it's still connected
  getLastConnectedWallet: () => Promise<StarknetWindowObject | null>
  // Connects to a wallet
  enable: (
    wallet: StarknetWindowObject,
    options?: {
      starknetVersion?: "v4" | "v5"
    },
  ) => Promise<ConnectedStarknetWindowObject>
  // Disconnects from a wallet
  disconnect: (options?: { clearLastWallet?: boolean }) => Promise<void>
}
```

## Development

You need Node and pnpm installed. Make sure to clone this repo and run:

```bash
pnpm install
pnpm build
```

To start watching for changes, run:

```bash
pnpm dev
```

and open `http://localhost:5173/`

### Running tests

For running tests:

```bash
pnpm test
```
npm package: @starknet-react/chains
Description: References to popular Starknet chains.
Latest version: 5.0.3

# `@starknet-react/chains`

References to popular Starknet chains.

## Installation

```
npm install @starknet-react/chains
# or
yarn add @starknet-react/chains
```

## Usage

Simply import any chain you want to use.

```ts
import { mainnet } from '@starknet-react/chains`
```

## Contributing

Want to add your Starknet Appchain to the list? 

 - Add your appchain information to a new file in `src`.
 - Export the definitions from `src/index.ts`.
 - Open a PR with your changes.
npm package: @starknet-react/core
Description: Starknet React is a collection of React hooks for Starknet.
Latest version: 5.0.3

# `@starknet-react/core`

Starknet React is a collection of React hooks for Starknet.

## Installation

```
npm install @starknet-react/core
# or
yarn add @starknet-react/core
```

## Documentation

Documentation [is available online](https://apibara.github.io/starknet-react/).

## Development

Start by installing `pnpm`, then run the following command from the root of the project:

```
pnpm install
```

Running tests requires to have `starknet-devnet` running locally.
The easiest way is to use docker with:

```
docker run --rm -p 5050:5050 shardlabs/starknet-devnet:latest
```

After that, you can run tests with `pnpm test`.
npm package: @starknet-react/kakarot
Description: Support of EVM wallets through Kakarot.
Latest version: 3.0.12

# `@starknet-react/kakarot`

Support of EVM wallets through Kakarot.

## Installation

```
npm install @starknet-react/kakarot
# or
yarn add @starknet-react/kakarot
```

## Usage

Simply import the kakarotConnectors.

```ts
import { kakarotConnectors } from "@starknet-react/kakarot"
```
npm package: @starknet-start/chains
Description: References to popular Starknet chains.
Latest version: 1.0.7

# `@starknet-start/chains`

References to popular Starknet chains.

## Installation

```
npm install @starknet-start/chains
# or
yarn add @starknet-start/chains
```

## Usage

Simply import any chain you want to use.

```ts
import { mainnet } from '@starknet-start/chains`
```

## Contributing

Want to add your Starknet Appchain to the list? 

 - Add your appchain information to a new file in `src`.
 - Export the definitions from `src/index.ts`.
 - Open a PR with your changes.
npm package: @starknet-start/react
Description: Starknet React is a collection of React hooks for Starknet.
Latest version: 1.0.7

# `@starknet-react/core`

Starknet React is a collection of React hooks for Starknet.

## Installation

```
npm install @starknet-react/core
# or
yarn add @starknet-react/core
```

## Documentation

Documentation [is available online](https://apibara.github.io/starknet-react/).

## Development

Start by installing `pnpm`, then run the following command from the root of the project:

```
pnpm install
```

Running tests requires to have `starknet-devnet` running locally.
The easiest way is to use docker with:

```
docker run --rm -p 5050:5050 shardlabs/starknet-devnet:latest
```

After that, you can run tests with `pnpm test`.
npm package: @starknt/sysproxy
Description: sysproxy for nodejs fork from mihomo-party-org
Author: mihomo-party-org
Latest version: 0.0.3

Forked from [mihomo-party-org/sysproxy-rs](https://github.com/mihomo-party-org/sysproxy-rs)

# sysproxy

A library for set/get system proxy. Supports Windows, macOS and linux (via gsettings/kconfig).
npm package: @starknt/sysproxy-win32-arm64-msvc
Description: sysproxy for nodejs fork from mihomo-party-org
Author: mihomo-party-org
Latest version: 0.0.3

# `@starknt/sysproxy-win32-arm64-msvc`

This is the **aarch64-pc-windows-msvc** binary for `@starknt/sysproxy`
npm package: @starknt/sysproxy-win32-ia32-msvc
Description: sysproxy for nodejs fork from mihomo-party-org
Author: mihomo-party-org
Latest version: 0.0.3

# `@starknt/sysproxy-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@starknt/sysproxy`
npm package: @starknt/sysproxy-win32-x64-msvc
Description: sysproxy for nodejs fork from mihomo-party-org
Author: mihomo-party-org
Latest version: 0.0.3

# `@starknt/sysproxy-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `@starknt/sysproxy`