open-index/open-npm huggingface dataset:
npm package: @smart2b/react-layout
Description: Componente de Layout
Author: lorenzon
Latest version: 1.0.0

# react-layout

> Componente de Layout

[![NPM](https://img.shields.io/npm/v/react-layout.svg)](https://www.npmjs.com/package/react-layout) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-layout
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from 'react-layout'
import 'react-layout/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [carloslorenzon](https://github.com/carloslorenzon)
npm package: @smart_dex/smart-dex-sdk
Description: 🛠 An SDK for building applications on top of Smart DEX.
Latest version: 1.0.1

# SmartDEX SDK


## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/smart-dex/smartdex-sdk.git
```

Move into the smartdex-sdk working directory

```sh
cd smartdex-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @smartagentkit/cli
Description: CLI tool for managing policy-governed AI agent smart wallets
Author: SmartAgentKit Contributors
Latest version: 0.1.10

# smartagentkit

CLI tool for managing policy-governed AI agent smart wallets. Create wallets, configure spending limits, manage session keys, and monitor wallet status from the command line.

## Install

```bash
npm install -g smartagentkit
```

## Quick Start

```bash
# Initialize configuration
sak config init

# Create a wallet with the defi-trader preset
sak create --preset defi-trader --owner 0x...

# Check wallet status
sak status 0x...

# Add a spending limit policy
sak policy add --type spending-limit --token 0x... --limit 1000000000000000000 --window 86400

# Pause a wallet (emergency)
sak pause 0x... --guardian-key 0x...
```

## Commands

- `sak create` - Deploy a new agent wallet
- `sak status` - Check wallet status and balances
- `sak fund` - Fund a wallet with ETH
- `sak policy` - Manage spending limits, allowlists, and pause policies
- `sak pause` / `sak unpause` - Emergency pause controls
- `sak session` - Create, list, and revoke session keys
- `sak config` - Manage CLI configuration

## Documentation

See the [main repository](https://github.com/smartagentkit/smartagentkit) for full documentation and examples.

## License

MIT
npm package: @smartagentkit/langchain
Description: LangChain integration for SmartAgentKit — AI agent smart wallet tools
Author: SmartAgentKit Contributors
Latest version: 0.1.10

# @smartagentkit/langchain

LangChain integration for SmartAgentKit. Provides pre-built tools that let LangChain agents interact with policy-governed smart wallets: check balances, send transactions, query spending allowances, and monitor wallet status.

## Install

```bash
npm install @smartagentkit/langchain @smartagentkit/sdk @langchain/core
```

## Quick Start

```typescript
import { SmartAgentKitClient } from "@smartagentkit/sdk";
import { createSmartAgentKitTools } from "@smartagentkit/langchain";
import { baseSepolia } from "viem/chains";

const client = new SmartAgentKitClient({
  chain: baseSepolia,
  rpcUrl: "https://...",
  bundlerUrl: "https://...",
});

const wallet = await client.createWallet({ /* ... */ });
const tools = createSmartAgentKitTools(client, wallet);

// Use with any LangChain agent
// tools: check_wallet_balance, check_spending_allowance,
//        send_transaction, check_wallet_status
```

## Tools

- **check_wallet_balance** - Get ETH balance of the agent wallet
- **check_spending_allowance** - Query remaining spending limit for a token
- **send_transaction** - Execute a transaction through the smart wallet
- **check_wallet_status** - Check if the wallet is paused

## Documentation

See the [main repository](https://github.com/smartagentkit/smartagentkit) for full documentation, examples, and the technical specification.

## License

MIT
npm package: @smartagentkit/sdk
Description: Deploy and manage policy-governed smart wallets for AI agents
Author: SmartAgentKit Contributors
Latest version: 0.1.10

# @smartagentkit/sdk

TypeScript SDK for deploying and managing policy-governed smart wallets for AI agents. Built on Safe + ERC-7579 + ERC-4337 (Account Abstraction), it provides spending limits, allowlists, emergency pause, and session key management out of the box.

## Install

```bash
npm install @smartagentkit/sdk viem permissionless
```

## Quick Start

```typescript
import { SmartAgentKitClient } from "@smartagentkit/sdk";
import { baseSepolia } from "viem/chains";

const client = new SmartAgentKitClient({
  chain: baseSepolia,
  rpcUrl: "https://base-sepolia.g.alchemy.com/v2/...",
  bundlerUrl: "https://api.pimlico.io/v2/base-sepolia/rpc?apikey=...",
});

// Deploy a wallet with spending limits and emergency pause
const wallet = await client.createWallet({
  owner: "0x...",
  ownerPrivateKey: "0x...",
  preset: "defi-trader",
});

// Execute a transaction (policies enforced on-chain)
await client.execute(wallet, {
  target: "0x...",
  value: 1000000000000000n,
});
```

## Features

- **Wallet Deployment** - Deploy Safe smart accounts with ERC-7579 modules
- **Spending Limits** - Per-token rolling-window spending caps
- **Allowlist/Blocklist** - Target and function-level access control
- **Emergency Pause** - Guardian-triggered kill switch with auto-unpause
- **Session Keys** - Scoped, time-limited keys for AI agent autonomy
- **Presets** - Pre-configured policy bundles (defi-trader, treasury-agent, etc.)

## Documentation

See the [main repository](https://github.com/smartagentkit/smartagentkit) for full documentation, examples, and the technical specification.

## License

MIT
npm package: @smartagentkit/testing
Description: Mock client for SmartAgentKit — run examples without funded wallets or deployed contracts
Author: SmartAgentKit Contributors
Latest version: 0.1.10

# @smartagentkit/testing

Mock client for SmartAgentKit that simulates the full SDK API in-memory. Run examples and integration tests without funded wallets, deployed contracts, or network access.

## Install

```bash
npm install --save-dev @smartagentkit/testing
```

## Quick Start

```typescript
import { MockSmartAgentKitClient } from "@smartagentkit/testing";

const client = new MockSmartAgentKitClient({ preset: "defi-trader" });

const wallet = await client.createWallet({
  owner: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
  ownerPrivateKey: "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
  preset: "defi-trader",
});

// Spending limits, allowlist, and pause are all enforced in-memory
await client.execute(wallet, {
  target: "0x...",
  value: 1000000000000000n,
});
```

## Features

- **Full API parity** with `SmartAgentKitClient` via `ISmartAgentKitClient` interface
- **In-memory policy enforcement** - spending limits, allowlist, pause state
- **Preset support** - defi-trader, treasury-agent, payment-agent, minimal
- **Test helpers** - `getLog()`, `setState()`, `getWalletState()` for setup and assertions

## Documentation

See the [main repository](https://github.com/smartagentkit/smartagentkit) for full documentation and examples.

## License

MIT
npm package: @smartapartmentdata/hmr-builder
Description: Builder for serving Angular with Hot Module Replacement: ng serve --hmr
Author: smartapartmentsdata dev team
Latest version: 1.1.8

# HmrBuilder

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.9.

## Code scaffolding

Run `ng generate component component-name --project hmr-builder` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project hmr-builder`.
> Note: Don't forget to add `--project hmr-builder` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build hmr-builder` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build hmr-builder`, go to the dist folder `cd dist/hmr-builder` and run `npm publish`.

## Running unit tests

Run `ng test hmr-builder` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @smartargs/ngx-neoline
Description: Angular service wrapper for the NeoLine N3 dAPI.
Author: smartargs
Latest version: 0.0.5

# @smartargs/ngx-neoline

Typed Angular service wrapper for the NeoLine N3 dAPI. It detects the injected NeoLine provider, waits for READY events, and exposes typed methods for common, read, write, and event APIs.

## Install

```bash
npm install @smartargs/ngx-neoline
```

Requires the NeoLine N3 browser extension to be installed and active.

## Quick start

```ts
import { Component, inject } from '@angular/core';
import { NeolineService } from '@smartargs/ngx-neoline';

@Component({ selector: 'demo', template: '' })
export class DemoComponent {
  private readonly neoline = inject(NeolineService);

  async ngOnInit() {
    const networks = await this.neoline.getNetworks();
    console.log('chainId', networks.chainId);
  }
}
```

No module setup needed; `NeolineService` is provided in root.

## Features

- Init via READY events for NEO2/N3
- Common methods: `getNetworks`, `getAccount`, `getPublicKey`
- Read methods: `getProvider`, `getBalance`, `getStorage`, `invokeRead`, `invokeReadMulti`, `verifyMessageV2`, `getBlock`, `getTransaction`, `getApplicationLog`, `pickAddress`, `AddressToScriptHash`, `ScriptHashToAddress`
- Write methods: `send`, `invoke`, `invokeMultiple`, `signMessageV2`, `signMessageWithoutSaltV2`, `signTransaction`, `switchWalletNetwork`, `switchWalletAccount`
- Events: `on(event)` Observable wrapper using provider `addEventListener`/`removeEventListener`

Docs: https://tutorial.neoline.io/reference/neo3-provider-api

## Usage snippets

Common

```ts
const { chainId, networks, defaultNetwork } = await neoline.getNetworks();
const account = await neoline.getAccount();
```

Read

```ts
const provider = await neoline.getProvider();
const storage = await neoline.getStorage({ scriptHash, key: 'token0' });
const read = await neoline.invokeRead({
  scriptHash,
  operation: 'balanceOf',
  args: [{ type: 'Address', value: address }],
});
```

Write

```ts
const sendRes = await neoline.send({
  fromAddress,
  toAddress,
  asset: 'GAS',
  amount: '1',
  fee: '0.0001',
});
const invRes = await neoline.invoke({
  scriptHash,
  operation,
  args,
  signers,
  broadcastOverride: true,
});
```

Events

```ts
const sub = neoline.on('ACCOUNT_CHANGED').subscribe((e) => console.log(e));
```

## Errors

All NeoLine-dAPI errors follow `{ type: string; description?: string; data?: string }` per docs: https://tutorial.neoline.io/reference/neo3-provider-api/errors/errors

Recommended handling with the exported `isNeolineError` guard:

```ts
import { isNeolineError } from '@smartargs/ngx-neoline';

try {
  await neoline.getNetworks();
} catch (err) {
  if (isNeolineError(err)) {
    console.error(err.type, err.description, err.data);
  } else {
    console.error(err);
  }
}
```