@rhinestone/modulekit

v0.4.14
A development kit for building and testing smart account modules.
account abstraction smart account modules

build

forge build

fmt

forge fmt

fmt:check

forge fmt --check

build:optimized

FOUNDRY_PROFILE=optimized forge build

build:smt

FOUNDRY_PROFILE=smt forge build

clean

rm -rf artifacts broadcast cache docs out out-optimized out-svg

gas:report

forge test --gas-report --mp "./test/integration/**/*.sol" --nmt "test(Fuzz)?_RevertWhen_\w{1,}?"

gas:snapshot

forge snapshot --mp "./test/integration/**/*.sol" --nmt "test(Fuzz)?_RevertWhen_\w{1,}?"

gas:snapshot:optimized

pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp "./test/integration/**/*.sol" --nmt "test(Fork)?(Fuzz)?_RevertWhen_\w{1,}?"

lint:sol

forge fmt --check && pnpm solhint "{script,src,test}/**/*.sol"

test

forge test

test:lite

FOUNDRY_PROFILE=lite forge test

test:optimized

pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge test

test:accounts

forge test && ACCOUNT_TYPE=SAFE forge test && ACCOUNT_TYPE=KERNEL forge test && ACCOUNT_TYPE=NEXUS forge test

changeset

changeset

changeset:release

pnpm build && changeset publish

changeset:version

changeset version && pnpm install --lockfile-only
npm i @rhinestone/modulekit

Metadata

  • GPL-3.0
  • Whatever
  • Rhinestone
  • released 10/24/2024

Downloads

Maintainers