Core is a tools provide reusable components, utilities, and infrastructure for building EasyLayer apps.
Website | Docs | Discussions
This repository contains the core packages for EasyLayer applications. It includes common modules and blockchain components:
- @easylayer/common: Shared utilities, CQRS, event sourcing and more.
- @easylayer/bitcoin: Bitcoin blockchain integration and utilities.
- @easylayer/evm: EVM-compatible blockchain integration and utilities.
EasyLayer provides a suite of ready-to-use, self-hosted solutions for blockchain indexing and real-time crypto processing. Our tools help developers and businesses easily integrate cryptocurrencies into their projects and operations.
Node.js version: 17 or higher is required. We recommend using the latest LTS (currently 22+).
Yarn version: 4.5+ is required (Yarn Berry).
Yarn is included in the repository under.yarn/releases/, so you do not need to install it globally.
You can run all commands usingyarnif you have Yarn 4+ or Corepack enabled, or usenode .yarn/releases/yarn-4.5.0.cjs <command>directly.
- Clone the repository:
git clone https://github.com/easylayer/core.git
cd core- Install dependencies:
yarn install- Build all packages:
yarn build- Run unit tests:
yarn test:unit- Lint and format code:
yarn lint
# or
yarn lint:fixDeveloper documentation is generated using TypeDoc:
yarn docs:development:generateThe generated docs will be available in the typedoc/ directory.
We welcome contributions! To get started:
- Fork this repository and create a new branch for your feature or bugfix.
- Make your changes and ensure all tests and lints pass locally.
- Submit a pull request (PR) to the
developmentbranch. -
- All PRs must use the provided pull request template.
-
- Branch names and commit messages must follow the Conventional Changelog style. Allowed types:
feat,fix,infra,refactor,chore,BREAKING(see.czrcfor details). Please use descriptive messages for each commit.
- Branch names and commit messages must follow the Conventional Changelog style. Allowed types:
-
- All PRs are automatically checked by our GitHub Actions workflow (build, lint, unit tests).
If you encounter a bug or have a feature request related to the core repository, please open an issue and provide as much detail as possible. For issues related to other EasyLayer projects, please use the appropriate repository.
This project is licensed under the License.