client-sdk-python
client-sdk-python copied to clipboard
Diem ID
Diem Core
- [x] Payment Metadata: https://github.com/diem/diem/pull/8335
- [x] Create string type of 64 chars: https://github.com/diem/diem/pull/8362
- [x] JSON RPC: "diem ID domains" field under parent VASP https://github.com/diem/diem/pull/8363/
- [x] JSON RPC: get_account fetches diem ID domain https://github.com/diem/diem/pull/8363/
- [x] JSON RPC: add EventDataView https://github.com/diem/diem/pull/8434/
- [x] Faucet: add TC script to add domain ID into faucet https://github.com/diem/diem/pull/8363/
Move
- [x] Move: Add types diemIDdomain, diemIDdomainevent: https://github.com/diem/diem/pull/8336
- [x] Move: DiemAccount publishes diemIdDomain resource using create_parent_vasp_account: https://github.com/diem/diem/pull/8336
- [x] Move: TC publishes diemIdDomainEventManager resource using create_treasury_compliance_account: https://github.com/diem/diem/pull/8336
- [x] Move: TC add/remove diemIdDomain in diemIdDomains: https://github.com/diem/diem/pull/8336
- [x] Move: Event for add/remove of diemIdDomain emitted and saved to DomainEventManager: https://github.com/diem/diem/pull/8336
- [x] Move: Script in AccountAdministrationScripts to add diemIdDomain resource to existing parent vasps: https://github.com/diem/diem/pull/8336
build: cargo run
tests: cargo test
cargo x test -p move-lang-functional-tests diem_id_domain.move
Offchain
- [x] Add reference ID exchange command objects: https://github.com/diem/client-sdk-python/pull/274
- [x] create and send CommandRequestObject: https://github.com/diem/client-sdk-python/pull/283
- [x] Update transaction object with reference ID when ref exchange is successful: https://github.com/diem/client-sdk-python/pull/309
- [x] Start txn with diemID, need to check for diemID vs subaddress and send transaction accordingly: https://github.com/diem/client-sdk-python/pull/309
- [x] Use Paymentmetadata for onchain transaction: https://github.com/diem/client-sdk-python/pull/306
- [x] handle error cases i.e. duplicate ref Id: https://github.com/diem/client-sdk-python/pull/309
Mini wallet
- [x] Set up mini wallet testing framework for diem ID: https://github.com/diem/client-sdk-python/pull/306
- [x] Send p2p transaction using DiemID as payee: https://github.com/diem/client-sdk-python/pull/309
- [x] Receive p2p transaction using event puller: https://github.com/diem/client-sdk-python/pull/309
- [x] Fetch from TC event stream and create domain map: https://github.com/diem/client-sdk-python/pull/309
- [x] Test: test_reference_id_command for e2e: https://github.com/diem/client-sdk-python/pull/309
AOS
- [ ] Implement adding domain via AOS UI
Renaming
- https://github.com/diem/client-sdk-python/pull/322