Skip to content

docs(dvm,wallet-rpc): clarify Initialize semantics and payload transfer amounts#3

Merged
DHEBP merged 2 commits into
mainfrom
docs/dvm-wallet-rpc-clarifications
Jun 12, 2026
Merged

docs(dvm,wallet-rpc): clarify Initialize semantics and payload transfer amounts#3
DHEBP merged 2 commits into
mainfrom
docs/dvm-wallet-rpc-clarifications

Conversation

@DHEBP

@DHEBP DHEBP commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Two small documentation clarifications, relocated from a retired branch onto a clean branch off main.

  • DVM: clarify Initialize vs InitializePrivate semantics
  • Wallet RPC: note that payload-bearing transfers require a non-zero amount

No code changes — docs content only.

DHEBP added 2 commits June 12, 2026 08:50
Add a focused subsection to smart-contract-fundamentals explaining that
InitializePrivate flips a single metadata byte (SC_META_DATA.Type 0->1)
and selects the install entrypoint — nothing more. It does NOT hide
contract code, encrypt state, or change STORE/LOAD/GetSC behavior; for
both types, code and stored variables are world-readable. "Private smart
contract" refers to tokens becoming encrypted balances in user wallets,
not to the contract itself.

Grounded in daemon source (dvm/sc.go:38, transaction_execute.go:325-326,
:336-337) and cross-linked to the existing private-smart-contracts page.
Extends the transfer 'amount' NOTE: a zero-amount transfer creates no output
for the recipient's wallet to detect, so an attached payload_rpc (comment,
destination port, or app data) never arrives even though the tx is valid and
mined. Use >= 1 atomic unit. Applies to any use of a transfer as a data carrier,
not just payments. Confirmed against the DeroMessage mainnet reference (Amount=1).
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
derod Ready Ready Preview, Comment Jun 12, 2026 12:52pm
deropay-main Ready Ready Preview, Comment Jun 12, 2026 12:52pm
hologram-docs Ready Ready Preview, Comment Jun 12, 2026 12:52pm
tela-docs Ready Ready Preview, Comment Jun 12, 2026 12:52pm

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.

1 participant