Skip to content

Commit

Permalink
Update python wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: artem.ivanov <[email protected]>
  • Loading branch information
Artemkaaas committed Jan 29, 2024
1 parent 8ae4bcf commit 3ddb5bd
Show file tree
Hide file tree
Showing 6 changed files with 1,885 additions and 262 deletions.
74 changes: 37 additions & 37 deletions network/config/besu/genesis.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion network/config/nodes/validator5/key
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0x615f55abe6d96b0412a63ca4ad6c0bb472a6d501907c983e43f72b061d31776a
0x69829d80fd48789dfd5cff0b0a66cad4a4f9dfc53a8a0fb8ccb597ea92f22467
30 changes: 30 additions & 0 deletions vdr/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vdr/wasm/demo/node/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const nodeAddress = 'http://127.0.0.1:8545'
// set path to the compiled contract
const didIndyRegistryConfig = {
address: '0x0000000000000000000000000000000000003333',
specPath: '/Users/indy-besu/smart_contracts/artifacts/contracts/did/IndyDidRegistry.sol/IndyDidRegistry.json'
specPath: '/Users/user/indy-besu/smart_contracts/artifacts/contracts/did/IndyDidRegistry.sol/IndyDidRegistry.json'
}
const didEthrRegistryConfig = {
address: '0x0000000000000000000000000000000000018888',
specPath: '/Users/indy-besu/smart_contracts/artifacts/contracts/did/EthereumExtDidRegistry.sol/EthereumExtDidRegistry.json'
specPath: '/Users/user/indy-besu/smart_contracts/artifacts/contracts/did/EthereumExtDidRegistry.sol/EthereumExtDidRegistry.json'
}

const account = '0xf0e2db6c8dc6c681bb5d6ad121a107f300e9b2b5'
Expand Down
74 changes: 74 additions & 0 deletions vdr/wrappers/python/indy2_vdr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,47 @@
SignatureData,
LedgerClient,
Transaction,
TransactionEndorsingData,
DidAttributeChanged,
DidDelegateChanged,
DidOwnerChanged,
DidEvents,
DidAttributeChanged,
DidDelegateChanged,
DidOwnerChanged,
DidResolutionOptions,
EventQuery,
EventLog,
build_add_validator_transaction,
build_assign_role_transaction,
build_create_credential_definition_transaction,
build_create_did_transaction,
build_did_change_owner_transaction,
build_did_change_owner_signed_transaction,
build_did_change_owner_endorsing_data,
build_did_add_delegate_transaction,
build_did_add_delegate_signed_transaction,
build_did_add_delegate_endorsing_data,
build_did_revoke_delegate_transaction,
build_did_revoke_delegate_signed_transaction,
build_did_revoke_delegate_endorsing_data,
build_did_set_attribute_transaction,
build_did_set_attribute_endorsing_data,
build_did_set_attribute_signed_transaction,
build_did_revoke_attribute_transaction,
build_did_revoke_attribute_endorsing_data,
build_did_revoke_attribute_signed_transaction,
build_get_did_owner_transaction,
build_get_did_changed_transaction,
build_get_identity_nonce_transaction,
build_get_did_events_query,
parse_did_changed_result,
parse_did_owner_result,
parse_did_attribute_changed_event_response,
parse_did_delegate_changed_event_response,
parse_did_owner_changed_event_response,
parse_did_event_response,
resolve_did,
build_create_schema_transaction,
build_deactivate_did_transaction,
build_get_role_transaction,
Expand Down Expand Up @@ -44,10 +81,47 @@
"SignatureData",
"LedgerClient",
"Transaction",
"TransactionEndorsingData",
"DidAttributeChanged",
"DidDelegateChanged",
"DidOwnerChanged",
"DidEvents",
"DidAttributeChanged",
"DidDelegateChanged",
"DidOwnerChanged",
"DidResolutionOptions",
"EventQuery",
"EventLog",
"build_add_validator_transaction",
"build_assign_role_transaction",
"build_create_credential_definition_transaction",
"build_create_did_transaction",
"build_did_change_owner_transaction",
"build_did_change_owner_signed_transaction",
"build_did_change_owner_endorsing_data",
"build_did_add_delegate_transaction",
"build_did_add_delegate_signed_transaction",
"build_did_add_delegate_endorsing_data",
"build_did_revoke_delegate_transaction",
"build_did_revoke_delegate_signed_transaction",
"build_did_revoke_delegate_endorsing_data",
"build_did_set_attribute_transaction",
"build_did_set_attribute_endorsing_data",
"build_did_set_attribute_signed_transaction",
"build_did_revoke_attribute_transaction",
"build_did_revoke_attribute_endorsing_data",
"build_did_revoke_attribute_signed_transaction",
"build_get_did_owner_transaction",
"build_get_did_changed_transaction",
"build_get_identity_nonce_transaction",
"build_get_did_events_query",
"parse_did_changed_result",
"parse_did_owner_result",
"parse_did_attribute_changed_event_response",
"parse_did_delegate_changed_event_response",
"parse_did_owner_changed_event_response",
"parse_did_event_response",
"resolve_did",
"build_create_schema_transaction",
"build_deactivate_did_transaction",
"build_get_role_transaction",
Expand Down
Loading

0 comments on commit 3ddb5bd

Please sign in to comment.