Skip to content

Feat/qs integration#1635

Closed
soheimam wants to merge 8 commits into
base:masterfrom
soheimam:feat/qs-integration
Closed

Feat/qs integration#1635
soheimam wants to merge 8 commits into
base:masterfrom
soheimam:feat/qs-integration

Conversation

@soheimam

Copy link
Copy Markdown
Contributor

What changed? Why?

Notes to reviewers

How has it been tested?

@cb-heimdall

cb-heimdall commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 1/2
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

Comment thread docs/get-started/launch-b20-token.mdx
@soheimam soheimam marked this pull request as ready for review June 18, 2026 11:50
Comment thread docs/apps/guides/accept-b20-payments.mdx Outdated
Comment thread docs/apps/guides/accept-b20-payments.mdx Outdated

B20 is an ERC-20 superset. Standard `transfer`, `transferFrom`, `approve`, `balanceOf`, and ERC-2612 `permit` all work, so an app that accepts ERC-20 tokens accepts B20 with no code changes.

B20's additions include transfer policies, pausing, supply caps, and memos. This guide uses the memo: `transferWithMemo` works like `transfer`, but also attaches a `bytes32` reference such as an order ID and emits a `Memo` event right after the standard `Transfer`. Read that event to tie each payment to an order.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"additions" -> "new features"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"emits a Memo event right after the standard Transfer event" (event is implied after transfer in the current version, better to be explicit though to avoid any confusion)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"Read that event to tie each payment to an order"

  • who or what is reading? this feels a bit like a hanging sentence

"Your app can read that event to tie each transfer transaction to an order"


## Tag a payment with a memo

This uses your configured viem `walletClient` and `publicClient`. It reads the token's decimals, sends a payment tagged with an order ID, then reads the memo back from the receipt:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"this"... this what? again state the thing to be more clear

"this example" or "this demo"

Should the first sentence state an implementation detail, or should we put the second sentence first which informs the reader of what is actually happening first and then provide the implementation detail?


This uses your configured viem `walletClient` and `publicClient`. It reads the token's decimals, sends a payment tagged with an order ID, then reads the memo back from the receipt:

```js theme={null}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Are we leveraging all of the features of mintlify code blocks in this example to make it as legible as possible?

Comment thread docs/get-started/launch-b20-token.mdx Outdated
Comment thread docs/get-started/launch-b20-token.mdx Outdated
Comment thread docs/get-started/launch-b20-token.mdx Outdated
Comment thread docs/get-started/launch-b20-token.mdx Outdated
Comment thread docs/get-started/launch-b20-token.mdx Outdated
@soheimam soheimam closed this Jun 18, 2026
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.

5 participants