Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 529 Bytes

File metadata and controls

28 lines (19 loc) · 529 Bytes

Development Setup

Prerequisites

  • yarn3
  • node 16+

We use a monorepo

Setup

# checkout the repo
git clone https://github.com/MetaMask/metamask-sdk.git
yarn

## Optionally launch a local socket server to debug the protocol
cd packages/sdk-socket-server
yarn debug

# launch one of the dev application playground, here for nextjs
cd packages/devnext
# if you use a local socket server you can configure it inside the .env file
echo "NEXT_PUBLIC_COMM_SERVER_URL=http://YOUR_LOCAL_IP:4000/" > .env
yarn dev