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

coin module boilerplate #8809

Merged
merged 24 commits into from
Jan 17, 2025
Merged

Conversation

Wozacosta
Copy link
Contributor

@Wozacosta Wozacosta commented Jan 6, 2025

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

A skeleton for a coin module (like Apps team do)

❓ Context

  • JIRA or GitHub link: LIVE-12889

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Copy link

vercel bot commented Jan 6, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
web-tools ❌ Failed (Inspect) Jan 16, 2025 2:41pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 2:41pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 2:41pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 2:41pm

@live-github-bot live-github-bot bot added the common Has changes in live-common label Jan 6, 2025
@Wozacosta Wozacosta force-pushed the support/coin-module-boilerplate-BACKUP branch from 35754b0 to 173a832 Compare January 6, 2025 17:22
@Wozacosta Wozacosta changed the title wip wip: coin module boilerplate Jan 9, 2025
@Wozacosta Wozacosta force-pushed the support/coin-module-boilerplate-BACKUP branch from 173a832 to 49fff17 Compare January 13, 2025 13:12
@Wozacosta Wozacosta force-pushed the support/coin-module-boilerplate-BACKUP branch from 92f0383 to 40aac8f Compare January 13, 2025 15:06
@Wozacosta Wozacosta changed the title wip: coin module boilerplate coin module boilerplate Jan 14, 2025
@Wozacosta Wozacosta force-pushed the support/coin-module-boilerplate-BACKUP branch from 01e8288 to 5fb5d61 Compare January 14, 2025 11:57
@Wozacosta Wozacosta marked this pull request as ready for review January 14, 2025 12:05
@Wozacosta Wozacosta requested review from a team as code owners January 14, 2025 12:05
@live-github-bot live-github-bot bot removed the common Has changes in live-common label Jan 15, 2025
@Wozacosta Wozacosta force-pushed the support/coin-module-boilerplate-BACKUP branch from c03af53 to 5ade914 Compare January 16, 2025 08:43
libs/coin-modules/coin-module-boilerplate/CHANGELOG.md Outdated Show resolved Hide resolved
import { parseCurrencyUnit } from "@ledgerhq/coin-framework/currencies";
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";

const rippleUnit = getCryptoCurrencyById("ripple").units[0];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xrp related

Copy link
Contributor Author

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

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libs/env/src/env.ts Outdated Show resolved Hide resolved
@Wozacosta Wozacosta merged commit ddf8d85 into develop Jan 17, 2025
35 of 37 checks passed
@Wozacosta Wozacosta deleted the support/coin-module-boilerplate-BACKUP branch January 17, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants