Skip to content

crStiv/acre

This branch is 8 commits behind thesis/acre:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d7ef1d · Jan 19, 2025
Dec 19, 2024
Dec 18, 2023
Jan 19, 2025
Dec 6, 2024
Jan 19, 2025
Jan 19, 2025
Apr 10, 2024
Apr 25, 2024
Dec 19, 2023
Nov 28, 2023
May 14, 2024
May 14, 2024
Nov 23, 2023
Nov 23, 2023
Oct 6, 2023
Jan 19, 2025
Jun 21, 2024
Oct 11, 2024
Dec 6, 2024
May 14, 2024

Repository files navigation

Acre

Bitcoin Liquid Staking

Development

pnpm

This project uses pnpm as a package manager.

Install

To install pnpm with Homebrew run brew install pnpm, for other installation options please see the documentation.

Package Dependencies

To install the package dependencies run:

pnpm install

Pre-commit Hooks

Developers are encouraged to use pre-commit hooks to automatically discover code issues, before they submit the code.

To setup the hooks follow the steps:

  1. Install pre-commit tool:

    brew install pre-commit
  2. Install the hooks for the repository:

    pre-commit install

Testing

To test the pre-commit hooks configuration you can invoke them with one of the commands:

# Execute hooks for all files:
pre-commit run --all-files

# Execute hooks for specific files (e.g. stBTC.sol):
pre-commit run --files ./solidity/contracts/stBTC.sol

Syncpack

Syncpack is a tool that helps manage multiple package.json files in a monorepo.

Usage

To list dependencies from all packages run:

pnpm syncpack list

To update a dependency (e.g. eslint) in all packages run:

pnpm syncpack update --filter eslint

Slither

Slither is a static analysis framework used for Solidity contracts verification.

Install

To install Slither execute:

pip3 install slither-analyzer

Usage

To run Slither execute:

slither .

About

Bitcoin Liquid Staking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.6%
  • Solidity 13.1%
  • Other 0.3%