Skip to content

Commit 00c20c3

Browse files
committed
feat(statics): onboard 8 new tokens as ungated tokens - verified
Add SOL tokens: sol:agri (AgriDex), sol:usdc.a (USDC.a Bridged ART20) Add ETH tokens: eth:ags (Silver Standard), eth:aus (Gold Standard), eth:reya (Reya), eth:usdp (USDP Stablecoin), eth:grtx (GreatX) Add OP token: opeth:perp (Perpetual Protocol) Add all corresponding OFC equivalent tokens All tokens added to UnderlyingAsset enum in base.ts. All ETH contract addresses verified as lowercase. SOL tokens verified to use Token Program (not Token2022). Decimals verified: SOL tokens (6), ETH tokens (4, 6, 18), OP token (18). USDP and USDC.a marked with STABLECOIN feature. CLOSES TICKET: WIN-8782
1 parent 16c89b4 commit 00c20c3

385 files changed

Lines changed: 2817 additions & 12139 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/audit-api-spec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ jobs:
6868
- name: Checkout PR
6969
uses: actions/checkout@v6
7070
with:
71-
ref: ${{ github.event.pull_request.head.sha }}
7271
fetch-depth: 0
7372

7473
- name: Find and checkout merge base

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
node-version: [20.x, 22.x, 24.x]
24+
node-version: [20.x, 22.x]
2525

2626
steps:
2727
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ modules/**/pack-scoped/
1818
coverage
1919
/.direnv/
2020
.claude/
21-
.cursor/

.iyarc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +0,0 @@
1-
# Excluded because:
2-
# - Lerna requires tar v6, but no patched v6 exists (fix only in v7.5.3)
3-
# - Forcing tar v7.5.3 breaks lerna's packDirectory API
4-
# - This CVE affects archive EXTRACTION (unpacking malicious symlinks/hardlinks)
5-
# - Lerna only uses tar for PACKING
6-
GHSA-8qq5-rm4j-mr97
7-
8-
# Excluded because:
9-
# - Transitive dependency through lerna and yeoman-generator, which currently pin tar to a
10-
# < 7.5.4 range; We only use their tar integration for
11-
# archive PACKING, not extraction,
12-
GHSA-r6q2-hw4h-h46w
13-

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.13.0
1+
22.18.0

CLAUDE.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ yarn compile
6565
# Build for development
6666
yarn compile-dbg
6767
```
68-
69-
## Dual ESM/CJS Builds
70-
71-
For modules that need browser support (especially those using `@bitgo/wasm-utxo`), see [docs/esm.md](docs/esm.md) for the dual ESM/CJS build pattern.
72-
7368
## Code Style
7469

7570
### Commits
@@ -128,4 +123,4 @@ This will generate the necessary boilerplate for a new coin implementation.
128123

129124
## Node.js Version Support
130125

131-
BitGoJS supports Node.js versions >=20 and <25, with NPM >=3.10.10.
126+
BitGoJS supports Node.js versions >=20 and <23, with NPM >=3.10.10.

CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
/modules/sdk-coin-baby/ @BitGo/ethalt-team
6161
/modules/sdk-coin-bera/ @BitGo/ethalt-team
6262
/modules/sdk-coin-bsc/ @BitGo/ethalt-team
63-
/modules/sdk-coin-canton/ @BitGo/ethalt-team
63+
/module/sdk-coin-canton/ @BitGo/ethalt-team
6464
/modules/sdk-coin-coredao/ @BitGo/ethalt-team
6565
/modules/sdk-coin-cosmos/ @BitGo/ethalt-team
6666
/modules/sdk-coin-cronos/ @BitGo/ethalt-team
@@ -104,7 +104,7 @@
104104
# Examples
105105
/examples/ @BitGo/ethalt-team
106106
/examples/ts/btc/ @BitGo/btc-team
107-
/examples/ts/stablecoin @Bitgo/stablecoins
107+
/examples/ts/stablecoin @Bitgo/gousd-team
108108

109109
# Trade
110110
/modules/sdk-core/src/bitgo/address-book/ @BitGo/prime

DEVELOPERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Requirements
22

33
- yarn version 1 (classic)
4-
- node version >=20 and <25
4+
- node version >=20 and <23
55

66
# Installing
77

@@ -180,7 +180,7 @@ Engines should be set to the following:
180180
```json
181181
{
182182
"engines": {
183-
"node": ">=20 <25",
183+
"node": ">=20 <23",
184184
"npm": ">=3.10.10"
185185
}
186186
}

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# An elaborated scheme to build all the dependencies of all packages first in a cached layer
33
# https://stackoverflow.com/a/63142468/134409
44
# https://medium.com/@emilefugulin/building-a-sane-docker-image-for-typescript-lerna-and-prisma-2-76d8ff9926e4
5-
FROM node:22.22.0-bookworm-slim@sha256:f86be15afa9a8277608e141ce2a8aa55d3d9c40845921b8511f4fb7897be2554 AS filter-packages-json
5+
FROM node:22.16.0-bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5 AS filter-packages-json
66
LABEL maintainer="Developer Relations <developer-relations-team@bitgo.com>"
77

88
COPY package.json yarn.lock lerna.json ./
@@ -12,7 +12,7 @@ COPY modules ./modules
1212
# delete all the non package.json files under `./modules/`
1313
RUN find modules \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf
1414

15-
FROM node:22.22.0-bookworm-slim@sha256:f86be15afa9a8277608e141ce2a8aa55d3d9c40845921b8511f4fb7897be2554 AS builder
15+
FROM node:22.16.0-bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5 AS builder
1616
RUN apt-get update && apt-get install -y git python3 make g++ libtool autoconf automake
1717
WORKDIR /tmp/bitgo
1818
COPY --from=filter-packages-json /tmp/bitgo .
@@ -31,7 +31,7 @@ RUN \
3131
rm -r modules/*/src
3232

3333

34-
FROM node:22.22.0-bookworm-slim@sha256:f86be15afa9a8277608e141ce2a8aa55d3d9c40845921b8511f4fb7897be2554
34+
FROM node:22.16.0-bookworm-slim@sha256:2f3571619daafc6b53232ebf2fcc0817c1e64795e92de317c1684a915d13f1a5
3535
RUN apt-get update && apt-get install -y tini
3636
# copy the root node_modules to the bitgo-express parent node_modules
3737
COPY --from=builder /tmp/bitgo/node_modules /var/node_modules/
@@ -109,7 +109,6 @@ COPY --from=builder /tmp/bitgo/modules/sdk-coin-stt /var/modules/sdk-coin-stt/
109109
COPY --from=builder /tmp/bitgo/modules/sdk-coin-stx /var/modules/sdk-coin-stx/
110110
COPY --from=builder /tmp/bitgo/modules/sdk-coin-sui /var/modules/sdk-coin-sui/
111111
COPY --from=builder /tmp/bitgo/modules/sdk-coin-tao /var/modules/sdk-coin-tao/
112-
COPY --from=builder /tmp/bitgo/modules/sdk-coin-tempo /var/modules/sdk-coin-tempo/
113112
COPY --from=builder /tmp/bitgo/modules/sdk-coin-tia /var/modules/sdk-coin-tia/
114113
COPY --from=builder /tmp/bitgo/modules/sdk-coin-ton /var/modules/sdk-coin-ton/
115114
COPY --from=builder /tmp/bitgo/modules/sdk-coin-trx /var/modules/sdk-coin-trx/
@@ -208,7 +207,6 @@ cd /var/modules/sdk-coin-stt && yarn link && \
208207
cd /var/modules/sdk-coin-stx && yarn link && \
209208
cd /var/modules/sdk-coin-sui && yarn link && \
210209
cd /var/modules/sdk-coin-tao && yarn link && \
211-
cd /var/modules/sdk-coin-tempo && yarn link && \
212210
cd /var/modules/sdk-coin-tia && yarn link && \
213211
cd /var/modules/sdk-coin-ton && yarn link && \
214212
cd /var/modules/sdk-coin-trx && yarn link && \
@@ -310,7 +308,6 @@ RUN cd /var/bitgo-express && \
310308
yarn link @bitgo/sdk-coin-stx && \
311309
yarn link @bitgo/sdk-coin-sui && \
312310
yarn link @bitgo/sdk-coin-tao && \
313-
yarn link @bitgo/sdk-coin-tempo && \
314311
yarn link @bitgo/sdk-coin-tia && \
315312
yarn link @bitgo/sdk-coin-ton && \
316313
yarn link @bitgo/sdk-coin-trx && \

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ BitGoJS currently provides support for the following Node versions per package.j
5151

5252
```
5353
"engines": {
54-
"node": ">=20 <25",
54+
"node": ">=20 <23",
5555
"npm": ">=3.10.10"
5656
}
5757
```
@@ -62,7 +62,6 @@ As each Node LTS version reaches its end-of-life we will exclude that version fr
6262

6363
- `20`
6464
- `22`
65-
- `24`
6665

6766
JavaScript package managers should allow you to install this package with any version of Node, with, at most, a warning if your version of Node does not fall within the range specified by our node engines property. If you encounter issues installing this package on a supported version of Node, please report the issue to us.
6867

0 commit comments

Comments
 (0)