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 install
To build and run the project, follow these steps:
- Build all packages:
yarn build
- Run the MetaMask Snap:
yarn start
To run tests for all packages:
yarn test
This project uses ESLint to enforce code style and formatting. To check code quality with the linter, run:
yarn lint
To lint and format the code, run:
yarn lint:style:fix