# router-intents

> Smart contracts implementing Router Intents with cross chain compatibility using Router Nitro

Latest version **6.0.2** (published 2024-01-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install router-intents
pnpm add router-intents
yarn add router-intents
bun add router-intents
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.2 |
| Published | 2024-01-12 |
| First published | 2023-12-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 51.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | shivam7828 |
| Keywords | blockchain, ethereum, hardhat, smart-contracts, solidity |

## Links

- npm: https://www.npmjs.com/package/router-intents
- npm.io page: https://npm.io/package/router-intents

## Dependencies (4)

- [axios](https://npm.io/package/axios.md) ^1.5.0
- [ethereumjs-util](https://npm.io/package/ethereumjs-util.md) ^7.1.0
- [@ethersproject/constants](https://npm.io/package/@ethersproject/constants.md) ^5.6.1
- [@ethersproject/abstract-signer](https://npm.io/package/@ethersproject/abstract-signer.md) ^5.6.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 6.0.2 (latest) — 2024-01-12
- 5.0.2 — 2024-01-10
- 5.0.1 — 2024-01-10
- 4.0.1 — 2023-12-26
- 3.0.1 — 2023-12-20
- 3.0.0 — 2023-12-20
- 2.0.3 — 2023-12-18
- 2.0.2 — 2023-12-15
- 2.0.1 — 2023-12-15
- 2.0.0 — 2023-12-14
- 1.0.0 — 2023-12-12
- 0.0.2 — 2023-12-08
- 0.0.1 — 2023-12-08

## README

# Router Nitro Periphery Contracts

Router Nitro Periphery Contracts contains smart contracts for various cross-chain products created using Router Nitro.

Smart Contracts is designed in such a way that it is:

- Modular => highly customizable and extendable.
- Optimized => highly gas optimized.

# How to run the project

This project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.

## 1. Install

```shell
> npm install
// or
> yarn install
```

## 2. Configure

Place required fields in a `.env` file in the root folder of the project (requirements are stored in .env.example file).

### 3. Run

```shell
npx hardhat test

// other
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.ts
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix
```

# Performance optimizations

For faster runs of your tests and scripts, consider skipping ts-node's type checking by setting the environment variable `TS_NODE_TRANSPILE_ONLY` to `1` in hardhat's environment. For more details see [the documentation](https://hardhat.org/guides/typescript.html#performance-optimizations).

---
_Source: https://npm.io/package/router-intents · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
