19 lines
326 B
Python
19 lines
326 B
Python
from zenroom import zenroom
|
|
|
|
contract = """Scenario ecdh: Create a ecdh key
|
|
Given that I am known as 'Alice'
|
|
When I create the ecdh key
|
|
Then print the 'keyring'
|
|
"""
|
|
|
|
result = zenroom.zencode_exec(contract)
|
|
|
|
print("OUTPUT:")
|
|
print(result.output)
|
|
|
|
print("LOGS:")
|
|
print(result.logs)
|
|
|
|
print("PARSED RESULT:")
|
|
print(result.result)
|