Skip to content

Commit

Permalink
Create identity_verification.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jun 30, 2024
1 parent c719f9f commit b776b67
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/identity_verification.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pragma solidity ^0.8.0;

import "https://github.com/uport-project/uport-identity/blob/master/contracts/Identity.sol";

contract IdentityVerification {
address private owner;
Identity private identity;

constructor() public {
owner = msg.sender;
identity = new Identity();
}

function verifyIdentity(address _address) public returns (bool) {
// Verify identity using uport's decentralized identity management
return identity.verify(_address);
}
}

0 comments on commit b776b67

Please sign in to comment.