Skip to content

Conversation

@flashtxh
Copy link

What’s new

  • Adds typescript/token-tax-calculator example (educational token swap tax estimator).
  • Includes a README with features, quick start code, and disclaimer.
  • Updates web/list.json with a new catalog entry and guide link.

Why

  • Provides a simple Compliance/Accounting themed demo.
  • Low-complexity example showing how to add a frontend-only tool into the hub.

How to review

  1. Open typescript/token-tax-calculator/README.md and confirm content.
  2. Check web/list.json contains the new card with correct title, description, tags, github, and guide.
  3. Validate JSON (no trailing commas).

@0xlucasliao
Copy link
Contributor

Thanks for adding this example — it’s a nice lightweight educational demo for compliance/accounting use cases 👍.

One suggestion: right now the flow relies only on self-input for transactions, but it would feel more practical and compelling if there were at least a minimal on-chain interaction. For example, you could:

Add a “Connect Wallet” button (via MetaMask or similar) to fetch the user’s address.

Use a free API (e.g., Etherscan, Covalent, Alchemy Transfers API) to pull recent ERC-20 / swap transactions.

Run the existing tax calculation logic against those fetched transactions, so users can see how the estimator works without manually typing everything in.

This would keep the example simple, but demonstrate how a frontend-only tool can still interact with on-chain data in a compliance context.

@robot-ux
Copy link
Collaborator

Thank you for your contribution. Please provide a complete runnable code, which can be generated using create-next-app or CRA. It would be even better if you could deploy it to Vercel for online review. @flashtxh

Copy link

@futures996 futures996 left a comment

Choose a reason for hiding this comment

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

ESSE COMITE ESTÁ APROVADO, VAMOS

Copy link

@futures996 futures996 left a comment

Choose a reason for hiding this comment

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

OK

@sanelavdic22-byte
Copy link

Hvala vam na vašem doprinosu. Molimo vas da dostavite kompletan kod koji se može generirati pomoću create-next-app ili CRA. Bilo bi još bolje kada biste ga mogli implementirati u Vercel za online pregled

@futures996
Copy link

OK

Copy link
Contributor

@0xlucasliao 0xlucasliao left a comment

Choose a reason for hiding this comment

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

Any updates on the Chain Integration and Runnable code?

@futures996
Copy link

I believe there is nothing new after the changes made to the repository! Let's go to BNB SMART CHAIN

Copy link
Contributor

@0xlucasliao 0xlucasliao left a comment

Choose a reason for hiding this comment

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

A bump on the feedback previously mentioned:

right now the flow relies only on self-input for transactions, but it would feel more practical and compelling if there were at least a minimal on-chain interaction. For example, you could:

Add a “Connect Wallet” button (via MetaMask or similar) to fetch the user’s address.

Use a free API (e.g., Etherscan, Covalent, Alchemy Transfers API) to pull recent ERC-20 / swap transactions.

Run the existing tax calculation logic against those fetched transactions, so users can see how the estimator works without manually typing everything in.

This would keep the example simple, but demonstrate how a frontend-only tool can still interact with on-chain data in a compliance context.

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.

8 participants