Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile wallet feature parity #29

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
da6973d
Get encryption keys + decrypt encrypted amount
soerenbf Sep 13, 2024
0d80f8b
Combine encrypted amounts
soerenbf Sep 13, 2024
ba43337
workaround for concordium_base build dep
soerenbf Sep 13, 2024
f5a0ddb
Revert "workaround for concordium_base build dep"
soerenbf Sep 13, 2024
6c7e36b
Revert generated file to version from main
soerenbf Sep 13, 2024
3e90c0d
Update `concordium_base` reference
soerenbf Sep 18, 2024
b479ec8
Update changelog
soerenbf Sep 18, 2024
ba85adf
Update base ref
soerenbf Sep 18, 2024
db71a54
Add types for parsing ID statements
soerenbf Sep 19, 2024
36ec6a1
Add types for generating proofs based on statements
soerenbf Sep 19, 2024
2bb8c8a
Add declare types in the `.udl` file
soerenbf Sep 20, 2024
b96befb
FMT
soerenbf Sep 20, 2024
b96eb05
Conform to serde format in base
soerenbf Sep 21, 2024
c425cea
credential statements
soerenbf Sep 23, 2024
813e40e
Add types necessary for creating verifiable presentations
soerenbf Sep 24, 2024
e0cd32f
Add function to create `VerifiablePresentation` from statement + context
soerenbf Sep 24, 2024
04f2b4d
Add UDL for web3id functionality
soerenbf Sep 25, 2024
925ad5c
Migrate more types from swift SDK to FFI lib
soerenbf Sep 26, 2024
97acd7c
Add functionality for working with DID's
soerenbf Sep 27, 2024
bfd8881
Fix attribute tag serde
soerenbf Sep 27, 2024
1efcd67
Unit tests for conversion
soerenbf Sep 30, 2024
fbcc647
Strip trailing slash from DID string
soerenbf Oct 1, 2024
c6af047
Fix DID conversion
soerenbf Oct 1, 2024
b98bce7
Add web3 ID credential type
soerenbf Oct 1, 2024
a1149ed
Fix use of unstable feature
soerenbf Oct 2, 2024
269c013
Update changelog
soerenbf Oct 2, 2024
656a63e
PR suggestions
soerenbf Oct 7, 2024
984326c
Improve datetime conversion
soerenbf Oct 8, 2024
2643089
Proof version 2
soerenbf Oct 8, 2024
ce0a497
Changelog + proof version bump
soerenbf Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint+test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- ubuntu-latest
- windows-latest
rust-version:
- "1.72"
- "1.73"

runs-on: "${{matrix.runner}}"

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/.idea
/target
/generated
table_bytes.bin

.DS_Store
/.build
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- **BREAKING** - `SecToPubTransferData.transfer_amount` has been changed to `MicroCCDAmount` (previously `String`) which is an alias in generated code for `u64`
- **BREAKING** - Any place where the `String` identifier of a concordium network was used, the new `Network` type is now used.
- **BREAKING** - Identity attribute tags are now represented by the `AttributeTag` type instead of `u8` and replaces any occurance of this.
- **BREAKING** - `AccountCredentialResult` is now called `AccountCredentialWithRandomness` to better signal its use, i.e. store the randomness corresponding to a credential.

### Added

- `get_encryption_keys`, `decrypt_amount`, and `combine_encrypted_amounts` functions for handling encrypted amounts.
- `prove_identity_statement` for producing proofs related to Concordium identities.
- `Network` type to represent different concordium network variants.
- `AttributeTag` to represent the different identity attribute variants.
- A number of types including `VerifiablePresentation`, `Web3IdCredential`, `VerifiableCredentialStatement`,
and `VerifiableCredentialCommitmentInputs` (which are the most important to mention) for working with verifiable credentials and presentations
- `create_verifiable_presentation` which facilitates producing verifiable presentations by supplying a combination of the types mentioned above.
- `DID` along with the helper functions `parse_did_method` and correspondingly `did_method_as_string` for working with concordium decentralized identifiers, used in the
types related to verifiable credentials

## [4.1.0]

### Added
Expand Down
Loading
Loading