Skip to content

Instantly share code, notes, and snippets.

View burdettadam's full-sized avatar

Adam Burdett burdettadam

View GitHub Profile
{"reqSignature":{"type":"ED25519","values":[{"from":"6aAJEoijPh3yqeDe9JCqRg","value":"2QzZSa4ComF5hNzGYp2KxtrAu57tstBk7jZrhv6CK95C36KL3Naif5hPJ2egD4ANjAo7VDyaSFks8fANFjFYTowH"}]},"txn":{"data":{"data":{"alias":"DigiCert-Node","blskey":"34ZnAnof88aahn2jShZqUPyvWXjM4pdjBukbH44BXAyZGcY2rivuMLHwCPZGGRf7JAVx6zGdnQiFziqwj8ndtGghht67H2DqHhoxxeCvgxv5aMAVW57z8ekGyMQXq1UWYEYgjFqY2Fi9bCTkGb4ywn4JEFvnfk3aEhVS92CpG5eYQHs","blskey_pop":"R5ksJ4cADE265315njhARQJS3eEqC4bBFjz6sW49Lc7cF814pMdKk4AjjHLCvKeViU6EP8YvhvpiuMhEYzmabsMnj7oesJGp6eqxkjSabFZ7LWk5wzfBW53fSAtBrK4KSGzAfU9zsmsNqBMuK1fiC7J1emxjaZfeXWkBV63dD36i95","client_ip":"63.33.233.212","client_port":9702,"node_ip":"34.250.128.221","node_port":9701,"services":["VALIDATOR"]},"dest":"5mYsynpwzx3muLWYP5ZmqWK8oZtP5k7xj5w85NDKJSM6"},"metadata":{"digest":"c4b76246a7000c018f70776f56accb4667a00eaab83933246b218f5cf4234fb2","from":"6aAJEoijPh3yqeDe9JCqRg","reqId":1553027997718160009},"protocolVersion":2,"type":"0"},"txnMetadata":{"seqNo":126,"txnTime":1553027997},"ver":"1"}
@burdettadam
burdettadam / sovrin.py
Created April 29, 2019 18:42
libvcx example code?
import asyncio
import json
import random
from ctypes import cdll
from time import sleep
import logging
import pyqrcode
from vcx.api.vcx_init import vcx_init_with_config, vcx_init
@burdettadam
burdettadam / sovrin.py
Last active January 2, 2019 21:36
modified faber script for interacting with connect.me.
import asyncio
import json
import random
from ctypes import cdll
from time import sleep
import logging
import pyqrcode
from vcx.api.vcx_init import vcx_init_with_config, vcx_init
@burdettadam
burdettadam / logs.txt
Created August 23, 2018 22:03
logs for trying to anchor a cred_def through a trust anchor.
INFO:__main__:Getting started -> started
INFO:__main__:Open Pool Ledger: pool1
INFO|command_executor | src/commands/mod.rs:75 | Worker thread started
INFO|indy::commands | src/commands/mod.rs:115 | PoolCommand command received
INFO|pool_command_executor | src/commands/pool.rs:132 | SetProtocolVersion command received
DEBUG|indy::commands::pool | src/commands/pool.rs:228 | set_protocol_version >>> version: 2
DEBUG|indy::commands::pool | src/commands/pool.rs:237 | set_protocol_version <<<
INFO|indy::commands | src/commands/mod.rs:115 | PoolCommand command received
INFO|pool_command_executor | src/commands/pool.rs:57 | Create command received
DEBUG|indy::commands::pool | src/commands/pool.rs:139 | create >>> name: "pool1", config: Some("{\"genesis_txn\": \"/tmp/indy/pool1.txn\"}")
import time
from indy import anoncreds, crypto, did, ledger, pool, wallet
import json
import logging
from typing import Optional
from indy.error import ErrorCode, IndyError
@burdettadam
burdettadam / cred_defByTrustAnchor.py
Created August 23, 2018 21:35
test code attempting to create a credential with an issuer and writing that credential to the ledger with a different trust anchor. see lines 157-168 & 222-232
import time
from indy import anoncreds, crypto, did, ledger, pool, wallet
import json
import logging
from typing import Optional
from indy.error import ErrorCode, IndyError

Keybase proof

I hereby claim:

  • I am burdettadam on github.
  • I am burdettadam (https://keybase.io/burdettadam) on keybase.
  • I have a public key whose fingerprint is 5CF8 264E 691E D128 D6C1 3BE3 5A8E 75DE 01D9 3368

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am bobsmeuncle on github.
* I am burdettadam (https://keybase.io/burdettadam) on keybase.
* I have a public key whose fingerprint is 5CF8 264E 691E D128 D6C1 3BE3 5A8E 75DE 01D9 3368
To claim this, I am signing this object: