0.5.1 • Published 3 years ago
tomoprivacyjs v0.5.1
TOMO privacy wallet's apis
Terms
keys
: private spend key, private view key, public spend key, public view key.UTXO
: Unspent transaction output - result of a privacy transaction.G
: secp256k1 base pointH
: secp256k1 generator point(there is an unknown x: H = x*G)Blinding factor
: random Big Integer used as input for Elliptic-curve Diffie–HellmanMask
: random Big Integer, used as input for Pederson commitment for hiding valuePrivacy address
: privacy's addressPederson commitment
: Pederson commitment is cryptographic commitment scheme equivalent to secretly writing a secret message m in a sealed, tamper-evident, individually numbered (or/and countersigned) envelope kept by who wrote the message. The envelope's content can't be changed by any means, and the message does not leak any information. Formula =G*Mask + value*H
.Bullet proof
: Range proofs is a type of zero-knowledge proof used for proving that a secret is within a value range without revealing the precise value of the secret. Bulletproofs is a new non-interactive zero-knowledge proof protocol with very short proofs and without a trusted setup; the proof size is only logarithmic in the witness size. Bulletproofs are especially well suited for efficient range proofs on committed values: they enable proving that a committed value is in a range using only (2 logn + 9) group and field elements, where n is the bit length of the range. Proof generation and verification times are linear in n.Transaction public key
: equal r * GStealth Address
: in other word - oneTimeAddress - random address just able to be decoded by owner's privatekey, in tomoprivacy - oneTimeAddress is for one UTXORingCT
: ring confidental transaction protocol, base on Cryptonote's with modifying for tomochain only
Additional requests/features please contact anhnt@tomochain.com
ROADMAP
- Finish high-level apis that able to interact with smart-contracts and precompiled contracts on test net includes ringct, deposit, balance, privatesend and withdraw
- Privacy protocol - turn any TRC20, TRC21 token to privacy token
- Integrated to tomowallet web and integrated bullet proof, demo on testnet
- Integrate to Maxbet, standardlize the transaction flow for Dapp.
Usage
TEST
- Unit test - done
- End to end test on tomochain testnet - cover main flow deposit, withdraw, sendtoprivate
License
MIT
0.5.1
3 years ago
0.5.0
3 years ago
0.4.10
4 years ago
0.4.9
4 years ago
0.4.8
4 years ago
0.4.7
4 years ago
0.4.5
4 years ago
0.4.4
4 years ago
0.4.3
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.15
4 years ago
0.3.14
4 years ago
0.3.13
4 years ago
0.3.12
4 years ago
0.3.11
4 years ago
0.3.7
4 years ago
0.3.6
4 years ago
0.3.5
4 years ago
0.3.4
4 years ago
0.3.3
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago