From ec5401fb38faa098438c9441a0c32804479951d8 Mon Sep 17 00:00:00 2001 From: sripwoud Date: Wed, 27 Nov 2024 09:58:10 +0700 Subject: [PATCH] update README --- packages/contracts/contracts/README.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/packages/contracts/contracts/README.md b/packages/contracts/contracts/README.md index eaa2f5ce3..cf78ed20d 100644 --- a/packages/contracts/contracts/README.md +++ b/packages/contracts/contracts/README.md @@ -46,23 +46,15 @@ To learn more about contracts visit [semaphore.pse.dev](https://docs.semaphore.p ## 🛠 Install -### npm or yarn +You can install the semaphore protocol contracts with any node package manager (`bun`, `npm`, `pnpm`,`yarn`) or the solidity package manager [`soldeer`](https://soldeer.xyz). -Install the `@semaphore-protocol/contracts` package with npm: - -```bash +```commandline +bun add @semaphore-protocol/contracts npm i @semaphore-protocol/contracts -``` - -or yarn: - -```bash +pnpm add @semaphore-protocol/contracts yarn add @semaphore-protocol/contracts -``` -or [soldeer](https://github.com/mario-eth/soldeer): - -```commandline +# for soldeer, an explicit version is required, e.g: soldeer install semaphore-protocol-contracts~4.6.0 ```