Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import os
|
|
| 6 |
import base64
|
| 7 |
import hashlib
|
| 8 |
from pathlib import Path
|
|
|
|
| 9 |
import qr
|
| 10 |
import stegan
|
| 11 |
import json
|
|
@@ -14,7 +15,7 @@ eth_wal = gr.Interface.load("spaces/Omnibus/decentral-test-mod")
|
|
| 14 |
|
| 15 |
def eth_create(seed = None):
|
| 16 |
priv,pub,addr,seed = eth_wal(seed)
|
| 17 |
-
qr_wal=
|
| 18 |
return priv,pub,addr,qr_wal,seed
|
| 19 |
|
| 20 |
def trans_block(sender,recipient,amount):
|
|
|
|
| 6 |
import base64
|
| 7 |
import hashlib
|
| 8 |
from pathlib import Path
|
| 9 |
+
import qrcode as qrx
|
| 10 |
import qr
|
| 11 |
import stegan
|
| 12 |
import json
|
|
|
|
| 15 |
|
| 16 |
def eth_create(seed = None):
|
| 17 |
priv,pub,addr,seed = eth_wal(seed)
|
| 18 |
+
qr_wal=qrx.make(addr)
|
| 19 |
return priv,pub,addr,qr_wal,seed
|
| 20 |
|
| 21 |
def trans_block(sender,recipient,amount):
|