Idena-Today / DnaUrl

DnaUrl is a safe way to encode an Idena transaction - including data payload - into a safe to transfer string.
MIT License
3 stars 0 forks source link

Add a selector for payload type? #2

Open idenatoday opened 4 years ago

idenatoday commented 4 years ago

Current url is like
dna://recipient/amount/data/checksum

@EarthlingDavey suggests adding a batch type, like
dna://batch/recipient1/amount1/data1/..../recipientn/amountn/datan/global_checksum

@menxit suggests possible use for other tx types in the future.

Do we evolve the base schema? A/ keep base url as is, that is first segment is a valid dna address, and other schemes use a fixed keyword instead (batch...) B/ add a "pay" or "send" segment to the default schema (longer by default, but more consistent)

Feedback?