def userA_deposits_some_amount_of_eth_in_plasma_cash(context, amount): client = Client(container.get_root_chain(), container.get_child_chain_client(), userA_key) client.deposit(amount=amount, currency=eth_currency) time.sleep(5) operator = Client(container.get_root_chain(), container.get_child_chain_client(), operator_key) operator.submit_block()
def userA_deposit_some_eth_to_plasma(context, amount): client = Client(container.get_root_chain(), container.get_child_chain_client(), userA_key) client.deposit(amount=amount, currency=eth_currency) time.sleep(5)
def deposit(): print(deposit) #TODO userA = Client(container.get_root_chain(), container.get_child_chain_client(), request.args.get('key')) userA.deposit(int(request.args.get('amount')), '0x0000000000000000000000000000000000000000') return '0'