From d48716f9baf526a308273735a80219770e104633 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 15 Nov 2023 11:44:19 +0100 Subject: [PATCH] remove apiregister --- utils/apiregiter.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 utils/apiregiter.py diff --git a/utils/apiregiter.py b/utils/apiregiter.py deleted file mode 100644 index e794181..0000000 --- a/utils/apiregiter.py +++ /dev/null @@ -1,17 +0,0 @@ -import uuid -import hashlib - - -class Iota: - """ - Framework for simulate the comunication with IOTA DLT - """ - - def issue_did(self): - u = str(uuid.uuid4()).encode() - d = hashlib.sha3_256(u).hexdigest() - did = "did:iota:{}".format(d) - return did - - -iota = Iota()