Caution
This repository is no longer active. It has been superseded by AleoHQ/aleo-snap-chainsafe.
- Introduction
- Prerequisites
- Getting Started
- Building and Running the Snap
- Testing
- Linting and Formatting
AleoSnap is a MetaMask Snap that enables MetaMask users to interact with Aleo blockchain.
This project is a monorepo containing the MetaMask Snap package, managed by Yarn 3 Workspaces. The goal of this project is to provide native interaction with the Aleo blockchain inside MetaMask using the Snaps system.
Before you can start working with the project, make sure you have the following software installed:
To get started with the project:
- Clone the repository:
git clone https://github.com/ChainSafe/aleo-snap.git- Navigate to the project root:
cd aleo-snap- Set node to compatible version of project (skip if you use manual approach)
nvm use- Utilize corepack
corepack enable- Install the dependencies
yarn installTo build and run the project, follow these steps:
- Build all packages:
yarn build- Run the MetaMask Snap:
yarn startTo run tests for all packages:
yarn testThis project uses ESLint to enforce code style and formatting. To check code quality with the linter, run:
yarn lintTo lint and format the code, run:
yarn lint:style:fix