-
Notifications
You must be signed in to change notification settings - Fork 356
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
coin module boilerplate #8809
coin module boilerplate #8809
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
3 Skipped Deployments
|
35754b0
to
173a832
Compare
173a832
to
49fff17
Compare
92f0383
to
40aac8f
Compare
01e8288
to
5fb5d61
Compare
c03af53
to
5ade914
Compare
import { parseCurrencyUnit } from "@ledgerhq/coin-framework/currencies"; | ||
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies"; | ||
|
||
const rippleUnit = getCryptoCurrencyById("ripple").units[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xrp related
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't simply change it to boilerplate
as it throws an error then. I've put up a comment just above this line:
4eefcce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can @ts-ignore it, code won't run for real
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ran for some unit tests, for example: https://github.com/LedgerHQ/ledger-live/actions/runs/12806166264/job/35704074323?pr=8809
libs/coin-modules/coin-module-boilerplate/src/test/bot-specs.ts
Outdated
Show resolved
Hide resolved
afb8b43
to
28b345b
Compare
β Checklist
npx changeset
was attached.π Description
A skeleton for a coin module (like Apps team do)
β Context
π§ Checklist for the PR Reviewers