@routerprotocol/intents-core

1.0.0 • Public • Published

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

> 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

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.

/@routerprotocol/intents-core/

    Package Sidebar

    Install

    npm i @routerprotocol/intents-core

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    52 kB

    Total Files

    26

    Last publish

    Collaborators

    • gaurav_agarwal
    • shivam7828
    • kunalroute
    • mynk_s_rwt
    • mankenavenkatesh5389
    • joydeep_router
    • ss-sonic
    • vatsal.eth
    • harsh-at-router