This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Companies: | |
did:twd (Trust DID Web)-> https://bcgov.github.io/trustdidweb/ | |
did:x509 | |
did:keri | |
did:ebsi | |
Natural Persons: | |
did:key | |
did:peer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.w3.org/TR/vc-jws-2020/#jose-conformance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.w3.org/TR/vc-data-integrity/#dataintegrityproof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.w3.org/TR/vc-data-integrity/#relationship-to-verifiable-credentials | |
created, expires, validFrorm and validUntil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classDiagram | |
Proxy <|-- ERC1967Proxy | |
ERC1967Utils --o ERC1967Proxy | |
ERC1967Proxy <|-- TransparentUpgradeableProxy | |
Ownable <|-- ProxyAdmin | |
TransparentUpgradeableProxy o-- ProxyAdmin | |
Proxy <|-- BeaconProxy | |
BeaconProxy o-- IBeacon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classDiagram | |
http_service_runner o-- AppDependencies | |
http_service_runner o-- getDefaultAppDependenciesAsync | |
http_swap_service_runner o-- getDefaultAppDependenciesAsync | |
http_swap_service_runner o-- AppDependencies | |
http_service_runner o-- SwapRouter | |
http_swap_service_runner o-- SwapRouter | |
SwapRouter o-- SwapHandlers | |
SwapHandlers o-- SwapService | |
SwapService o-- SwapQuoter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Web3 = require('web3'); | |
let web3 = new Web3('ws://localhost:8546'); | |
//console.log(web3); | |
var subscription = web3.eth.subscribe('logs', { | |
address: '0x77Db09300A503F5b4828dC12b57659c6ba945Cff', | |
topics: ['0x9ec8254969d1974eac8c74afb0c03595b4ffe0a1d7ad8a7f82ed31b9c8542591'] | |
}, function(error, result){ | |
if (!error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config" : { | |
"chainId" : 2018, | |
"constantinoplefixblock" : 0, | |
"ibft2" : { | |
"blockperiodseconds" : 2, | |
"epochlength" : 30000, | |
"requesttimeoutseconds" : 4 | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config" : { | |
"chainId" : 2018, | |
"constantinoplefixblock" : 0, | |
"ibft2" : { | |
"blockperiodseconds" : 2, | |
"epochlength" : 30000, | |
"requesttimeoutseconds" : 4 | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addNewUser(bytes32 hash, bytes32 id, uint startDate, uint exp, uint sex, uint8 age, bytes6 user_hash, StatusCode code, Hobbies hbobbies) external returns(bool) { | |
CustomDataType storage user = registry[hash][msg.sender]; | |
require(user.id==0,"User already exists"); | |
//******This is only an example ****** | |
user.id = id; | |
user.startDate = startDate; | |
user.iat = now*1000; | |
user.exp = exp; | |
user.sex = sex; | |
user.age = age; |
NewerOlder