Osuke

Results 122 issues of Osuke

https://github.com/LayerXcom/zero-chain/blob/7dfe0b2abf31691492912e21b64920f954d29840/zface/src/wallet/disk.rs#L257 https://github.com/LayerXcom/zero-chain/blob/7dfe0b2abf31691492912e21b64920f954d29840/zface/src/wallet/keyfile.rs#L242

There is some redundant code to define primitive types. Define macros for such types to implement some trait like `Encode`, `Decode`, `TryFrom`, `Serialize`, `Deserialize`, `AsBytesRef`. https://github.com/LayerXcom/zero-chain/tree/master/core/primitives/src

Add `TryFrom` traits to convert original types to zerochain primitive types in `proofs` crate. Use `Bls12` type instead of `JubjubEngine` trait in original types in order to avoid recursive definitions....

Currently, all primitive types are converted into original types in modules in order to compute elliptic curve operations, but it tends to be messy in module logic. Such operations should...

Currently, the decryption_key is used for Encryption proving in circuit. It's not problematic as long as you won't delegate zkproofs or calling transfer_from function (#133). For supporting these features, proof_generation_key...

depending: #134 Add transfer_from and approve function like erc20 in encrypted_balances module. When you call `approve` function, you just prove the `allowed amount` is not over his balance like usual...

Fix to only support for hardened key in hdkd scheme.

When users get their balances, encrypted balance and pending_transfer are printed out by default. It seems messy, so add cli flags to print out these value. https://github.com/LayerXcom/zero-chain/blob/1fc625f714442dba590d0dac95e78bf4b2a49392/zface/src/main.rs#L275-L277

Fix the accounts status(live or dead) not to be depending on balance module. https://github.com/LayerXcom/zero-chain/blob/3df39dfee20b82dacb6b96004dbde0f13795d59c/runtime/src/lib.rs#L150

It would be like the existing [Assets srml](https://github.com/paritytech/substrate/blob/master/srml/assets/src/lib.rs) for confidential transfer. Each encrypted balance will be with ID for identifying the assets.