@hashgraph/hedera-wallet-snap

v0.2.2
Hedera Wallet Snap unlocks wallet functionality via Metamask that any other apps can interact with, thereby turning Metamask into a native Hedera wallet without relying on Hedera JSON-RPC Relay.
MetaMask Snaps Hedera Hashgraph HBAR

lint

yarn lint:eslint && yarn lint:misc --check

test

jest --forceExit

build

webpack && yarn build:snap

clean

rimraf dist build

serve

mm-snap serve

start

mm-snap --version && concurrently "yarn build && yarn serve" "yarn watch"

watch

chokidar 'src/' -c 'yarn build'

deploy

npm run build && cd dist && npm publish

compile

babel src -d lib

test:ci

yarn test --silent

lint:fix

yarn lint:eslint --fix && yarn lint:misc --write

prebuild

yarn run clean

lint:misc

prettier '**/*.json' '**/*.md' '!CHANGELOG.md' --ignore-path .gitignore

build:snap

yarn build:snap:postprocess && mm-snap manifest --fix

lint:eslint

eslint . --cache --ext js,ts

build:snap:eval

mm-snap eval -b dist/snap.js

build:snap:postprocess

node ./postBuild.js
npm i @hashgraph/[email protected]

Metadata

  • Apache-2.0
  • >=18.13.0
  • Tuum Tech, Hedera Smart Contracts Team
  • released 2/1/2024

Downloads