The great bump

This commit is contained in:
2021-08-06 16:29:01 +00:00
parent f764b73f66
commit 0672a17d2e
195 changed files with 5791 additions and 4983 deletions

View File

@@ -1,8 +1,10 @@
# standard imports
import os
import random
import uuid
# external imports
from chainlib.eth.address import to_checksum_address
from faker import Faker
from faker_e164.providers import E164Provider
@@ -18,6 +20,10 @@ def phone_number() -> str:
return fake.e164('KE')
def blockchain_address() -> str:
return to_checksum_address('0x' + os.urandom(20).hex())
def session_id() -> str:
return uuid.uuid4().hex