Sample Mint

From Open Transactions
Jump to navigation Jump to search

Mints now have series and expiration. See the token page for more information on this.

The Mint is uniquely identified by its Asset Type ID, as well as its Series.

Each token is signed with, and verified by, the Mint Private Key for a given AssetTypeID, for a given series, and a given denomination.

You may also find the financial instruments chart interesting, including cheques.

Sample Public Mint file:

-----BEGIN SIGNED CONTRACT-----
Hash: SAMY

<?xml version="1.0"?>

<mint version="1.0"
 serverID="44FmyPAgrmGu671RywGnhrt8aR6tzmNFn9WKQ92BXn"
 assetTypeID="XUHBvdsWAEmErZMzHaRKaNPaAVsUvKwL4uLY4nOY2s4"
 cashAcctID="khlj2LLL9EYxPimNR4yAYDDzO5QzSg7LSxxsGc1RpsP"
 series="0"
 expiration="1289641563"
 validFrom="1281865563"
 validTo="1297417563" >

<mintPublicKey>
LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlHZk1BMEdDU3FHU0liM0RRRUJB
UVVBQTRHTkFEQ0JpUUtCZ1FDNVg2MGNib1BQVGVaQ2pRUE9qSHBaRERiYgpNOVl6
UlcyV3EvUHJIbDE3alZIa3hLMVgvbHdhM3NTR0hFTUFvUlp3SDFNa2trbTViWEow
ZUpQWit2RVh6S0ZwCmNCeEZFODVBbXNibEM4U280T3dVY01HelQ0OTljQWl1aWsz
bkdTR3hJbTE4K0NpOUdCNG5GVnNudXJkRzIxakgKck5MeEwzbVVwaHc0VzdwVkl3
SURBUUFCCi0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQo=
</mintPublicKey>

<mintPublicInfo denomination="1">
eJwVkSuSGEAIRKP3NAx/xApg4CCJSKUqYk3un1mDAV5D9+9P+fj6XOI2tcvL4lN2
qfBim+CEMRMkyVU7VClpjB0gZeZnK2bW9+gykIe9ctBwhTi7M1IOX4AcXcm5WaDH
TQOYlLrqsJ7XJOccCQe23lZOSC6ra3isRFN5+pZ0Mx8hndo4hYC5b8i3VCqqvCoL
5xuFW1eE34H0aHTWiTW80hmhFvab5KlK0bMfX/9+/v3z69OuQmTuYgl4O4YfJb7p
53pLc6+5h08XwciuI7eekETCQ7ShtXjekBYuzaFvm+D45CV+ojvOxSWh0FujoKhr
zwqxTjQAKwC4ju0n5oVgbEuEiwO6qNiig0M7PY8acQbeNiabBNRluGF07zx6HRSJ
pve0+IsPjUrtfa+ylyPtxH3CjttuntONHz/+A0jneKM=
</mintPublicInfo>

<mintPublicInfo denomination="5">
eJwVkTluGEAIAFP7NVzLUbhgOR6SFFGkFG7y/6w7hLhm+P15Pr4+F44VFKqDXIF7
pKyYtJTJDbI7NwD8rLrDgVmujA5XPJy2WnfvK2zrMLIIyCSdTFcFPupDfg+/WBjd
lzGkfIIdGU/wdTwiXbxsbze8pQIh7UnObEFXGyfSizKIi/l40FA7YN1jzEl1bkK+
0R2nvvu8Aaf4zGsl45C882IXLQizqTtSbaB8P77+/fz759dnYCbbTWrcTptccHtW
hHc3B0FGdQQfH0OKGx8862a09Xj5ZcejuWRSr9+nKIXz3mSREw8BTMcTYVcD72KE
apzjtfJ8jHY3jcnY7DoTty88RwlUaM9W3qeOl4jntk9+S8DkiJ5SwRKV8VFy6IFv
ViFpReEg6vMe8l6CUZgPtZ9pvJOlKvIOO/zx4z8HN3ew
</mintPublicInfo>

<mintPublicInfo denomination="10">
eJwVkTtuGEAIRFP7NHwWFgoXfA/iFFGkFG5y/2yERAXMvOHXp3x8fxrphnvqsBnb
BhN1IZHtjkNC9uqMvX7HZ9hpp+IcbQvsWYUJldfORV4WNLLZqNEbIAP6Nvf2PXz4
Sii/IdeSuCXzJBEXXN74eile466aVJzDmbQtTBLb2E80XGP42FuUdDi25JFcjONG
MKw6dPfREDv6YPUEkR6C9dFOE31oZ3GtTF/lx/ffrz+/f37iBmRpEWcLnmC2UoAS
v3kFHJD1wSKpkV8DfVcHAcRishLu1aNEjCQFJD2eh7v1GkZTgEJYPelOkQZ/aZ21
zmocuaduHjT1U0ms/lwb6jNbUDYRL67Fzq22rVuFo2wuGU+8OVJlC/QhefJxzOKT
HFLSpF0wa2Av/8Xr9z/YeV99egCdeSmfO/z48Q/7rXjd
</mintPublicInfo>

<mintPublicInfo denomination="25">
eJwVkTuSEEAIRI33NMDwDTYYYDjIGlhWGWzi/cWUhoZ+/PqUj+/P4YfddAQKB0LE
rA8j+hTnC28pISd6yVnnoW4ZwC+dVkOPq3Myhh43MKiQTKBX3sy1Nqdw364LM5BG
5O9qm7El3Zl6LS6Ajq1xQlgv33HByBPM0A23QCL0hZkfzSpYjabLV9r7ehpjRLmS
X15Z50BQ13x4z85DscV1OIPTBP2sytGQ/Padj++/X39+//w0u/4wH6Q80rtObBbD
0pKb4UFEiRZ2hJU5A0DHPHF27YP6UPpAUvviM1fz6AGt2wC1cCjWKq2rzgypBakm
w3lMiHIAix16YyRSXJuNX3uEnmjKk8ta4dmVJQpeUdNxeOOtuG9jSLxX1Alvk8oK
I3c34P+PFcwDOEeOdqAED8iiEaw0OEijHh8//gFfh3gw
</mintPublicInfo>

<mintPublicInfo denomination="100">
eJwdkTmOEDAMRannNHEcb8UUXg8CBUKioOH+eFCkKPpOnuyXn5/08edTqei8eAYZ
u7D1dLkDBReO9PGcG/iwuDzqgeIAOvSb27NnljdIDFENlK9f8pbRzsl3gs/z8oua
gWH11D1fXXAD7hilcOQUhOulZ3MnMvRUrN17U+Jrj6mKiYDwSvnJ7MM1Vmo6pawI
OFm5pGifx2B+z43cRtSa0s7YeXnlCy1TLqbB90l8/Pn7/fevH58PykAkRZGUXWd0
I6yQNKape5ZnxGkCATGP2Hs7lUrDvvh6upoq6j61ffo1ertiH7IEUOKiNTrx5Esp
H163dasQqgi6gtbL3oYRPC2iE7rasUry/0icvMYFmWV/p3WODHKTaC0lZMbuESXE
PLpsXsrpCeOyBqv1ccH0Qmm/i74GodlgKOR8fPsHQoN5fw==
</mintPublicInfo>

<mintPublicInfo denomination="500">
eJwVkTmOGCAMRVPPacDGWzGF14MkRRQpxTS5fzxCAmTJ/Mfz70/6+PqMl3ZGxcEU
uOeOJt0Uy6ehB+pdm0YGo3fxosaWnOBYO0VgGTu3kaXQVhCH5OT0dgKfXQihqvaG
Bp/Iq/cOYdaINT3gy+190jFVieOWHZXEC2fSrxXVxDt4DvGYB0bkzNVO6dR6haGV
EGd5KZoXqWEMibUX94gz0cTeA4lwo5uNAdhIpiQ+vv79/Pvn1+fCHkE/Hbghdgsq
gsIPFzjUwZeLVSpdeZ3y+aM9xlKdTcno1G7iF1h9BY6IBEqZLXDGserCgstqMEG+
XNi4ILwPmVfA829PcGcQRe9TH8UVm7Be6LVAie23aMVsct+5oPTtTd+DcGmpSdab
UyCcPR472gDzc7YPvO294oy4B14Y7pgVIsEnP378Bwj3eOQ=
</mintPublicInfo>

<mintPublicInfo denomination="1000">
eJwVkTtuGEAIRFP7NMtvgcIF34MkRRQphZvcP+sOidEM8/j9KR9fn31Tw69sXCjr
Qc2qRJaB5os3csvg0iWr67lRgOlJ55SqoBjuTZtOaC32veYDtXOAdxfZCYy3MrpX
Ym5EO4JT5gHw4bt1pCcJjiWvHx864SXmm8zeW2NyG5Gr2iwEuutsPvMJ4KIIwrEE
3SAZLeETbGDo4FKbB6uBXC91xX0pqdJ6S5/G6ePr38+/f3596ogrC74qyiCx0G8/
FwEK3HQqagOt/NztI/5dbQOec68/bEvzTeSSGgmehtEHhhoFSHNeg5g9hOo3681J
Xu/wp6Nu28O8gKin8UKE5TZLCZWkrSe+TzjHTD7CdeC0gCZgcJic5pfFl0MDOZu4
x0LX5jQVSd3zmjliiUbaMwMlAODHJl04ieHjx3+APnju
</mintPublicInfo>

<mintPublicInfo denomination="2000">
eJwVkTtuGEAIRFP7NHyWX+GCZeEgSRFFSuEm9w9uaNAwj5nfn/Lx9emoV6XcGZwT
fbClLjHhtckpCJ8XfSrwaFwA9Zs50oeroXTlDl0jRO8JeRCrHTAUTJmi1hBI47kr
USHkKHOPOecMwBRCnyERJCTFvWpyW9ruxGFAYQYaP10gUpzRWFOlymIhnB73TvbT
VRDmN/d6FQ8eeO4oei5einie1l34iO7dr8yIXO7H17+ff//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CJlId3WKwgAM
grrUVrzIkV6O44JQiQo4S2cQ00DaWHx+/AdnIXhp
</mintPublicInfo>

</mint>
-----BEGIN CONTRACT SIGNATURE-----
hLl+yVFoiI9JQlHwhRFMP95kCJ3clvRkIu4vRjOjWNil1LyncwFSysGvMayBjAHJ
0X/BV03xjrtKGk1clB2C551uy0SXUL65C6IIjDKv+eREMZ31jNCDHhWCLUSb3OgZ
4CcLgj+da5M8VrdtFjKSyOMqH47wl9awRiLqNKjX7n4=
-----END CONTRACT SIGNATURE-----

The above is a Public Mint File which the wallet will download every time a new series is released. The wallet uses the public keys to generate prototokens (for cash withdrawals). The Private Mint File is stored on the server side, and it also contains the private minting keys. These are used to sign the tokens (while they are blinded), as well as to verify them later when they are spent by the recipient (after being unblinded by the wallet.)