arbsep; conf/
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
docker run --network=host --ulimit memlock=-1 docker.dragonflydb.io/dragonflydb/dragonfly:latest --proactor_threads 1 --maxmemory 256MiB --hz=1 --dbfilename '' "$@"
|
||||
17
bin/generate_private_key.py
Normal file
17
bin/generate_private_key.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import os
|
||||
from eth_keys import keys
|
||||
|
||||
# Generating a private key
|
||||
private_key_hex = os.urandom(32)
|
||||
private_key = keys.PrivateKey(private_key_hex)
|
||||
|
||||
# Getting the public key
|
||||
public_key = private_key.public_key
|
||||
|
||||
# compute the Ethereum address from the public key
|
||||
address = public_key.to_checksum_address()
|
||||
|
||||
print(f"key='{hex(private_key)[2:]}' # {address}")
|
||||
# print("Private key:", private_key)
|
||||
# print("Public key:", public_key)
|
||||
# print("Address:", address)
|
||||
@@ -1 +0,0 @@
|
||||
alembic downgrade -1 && alembic upgrade head && ./bin/df.sh
|
||||
Reference in New Issue
Block a user