Skip to content

[mkdocs] docs: add transfer xem tutorial#883

Open
zero4862 wants to merge 4 commits into
NemProject:new-docsfrom
zero4862:docs-transfer-xem
Open

[mkdocs] docs: add transfer xem tutorial#883
zero4862 wants to merge 4 commits into
NemProject:new-docsfrom
zero4862:docs-transfer-xem

Conversation

@zero4862
Copy link
Copy Markdown

@zero4862 zero4862 commented Jun 3, 2026

Adapts the transfer transaction tutorial to NEM.

Note: We'll have a separate one for transferring mosaics.

Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md
@zero4862 zero4862 marked this pull request as ready for review June 3, 2026 09:25
@zero4862 zero4862 requested a review from segfaultxavi June 3, 2026 09:25
[mkdocs] docs: clean code
@zero4862 zero4862 force-pushed the docs-transfer-xem branch from 41c3ab1 to d054e4b Compare June 3, 2026 09:31
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
Copy link
Copy Markdown
Contributor

@segfaultxavi segfaultxavi left a comment

Choose a reason for hiding this comment

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

Minor changes

Comment thread mkdocs/snippets/devbook/transactions/transfer_xem.mjs Outdated
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md Outdated
@zero4862 zero4862 requested a review from segfaultxavi June 5, 2026 08:18
Copy link
Copy Markdown
Contributor

@segfaultxavi segfaultxavi left a comment

Choose a reason for hiding this comment

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

Very good work on the Textbook addition!
Just needs some polishing :)

Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md
Comment thread mkdocs/pages/en/devbook/transactions/transfer-xem.md
Comment thread mkdocs/pages/en/textbook/transfer_transactions.md
Comment thread mkdocs/pages/en/textbook/transfer_transactions.md

The minimum per-mosaic fee is **0.05 XEM**.

??? info "Mosaic Fee Calculation"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This process is pretty complicated. It would benefit from an example at the end.


where `9 × 10^15` is the largest mosaic quantity NEM allows.

Scarcer mosaics receive a larger discount, because the logarithm grows as the supply shrinks.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we know the rationale for this? It would be good to explain it, because it does not seem obvious to me.


| Amount sent | Cost |
| ---------------------------- | --------- |
| Up to 10'000 XEM | 0.05 XEM |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Given the formula in AbstractTransactionFeeCalculator.java:51, please double check that this is up to 10'000 and not up to 19'999.

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