Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Protos #237

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ npm run dev

Instructions for wallet integration can be found in this
[document](./docs/WalletIntegration.md).

## Building Protobuf Files
This project utilizes Protocol Buffers (protobuf) from the [Babylon](https://github.com/babylonlabs-io/babylon) repository. The protobuf files are essential for generating TypeScript definitions used within the application.

To fetch and compile the protobuf files from the Babylon repository, simply run:

```bash
npm run build:proto
```
153 changes: 144 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build:proto": "./src/scripts/get-proto.sh && npm run format:fix",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -25,6 +26,7 @@
"node": "22.3.0"
},
"dependencies": {
"@babylonlabs-io/btc-staking-ts": "0.3.0",
"@bitcoin-js/tiny-secp256k1-asmjs": "2.2.3",
"@bitcoinerlab/secp256k1": "^1.1.1",
"@keystonehq/animated-qr": "^0.8.6",
Expand All @@ -36,7 +38,6 @@
"@uidotdev/usehooks": "^2.4.1",
"axios": "^1.7.4",
"bitcoinjs-lib": "6.1.5",
"@babylonlabs-io/btc-staking-ts": "0.3.0",
"date-fns": "^3.6.0",
"decimal.js-light": "^2.5.1",
"framer-motion": "^11.1.9",
Expand All @@ -59,6 +60,8 @@
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@bufbuild/buf": "^1.45.0",
"@bufbuild/protobuf": "^2.2.0",
"@playwright/test": "^1.46.0",
"@tanstack/eslint-plugin-query": "^5.28.11",
"@tanstack/react-query-devtools": "^5.28.14",
Expand Down
9 changes: 9 additions & 0 deletions src/proto/amino/amino.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading