is in possible to create contract with such functionality?

i want to allow users to generate or inherit numbers

for example
——tx1—-
Generate (sender=A, receiver=B, base_tx=None)

val sets as 555
——tx2—-
Generate (sender=A, receiver=B, base_tx=tx1)
val sets as 555+2 = 557

Aug 15, 2022, 10:05 AM
Yes but no true randomness (afaik chainlink runs a random generator node, but not sure about it)
Aug 15, 2022, 10:06 AM
How can I read val from previous transaction?
Aug 15, 2022, 10:09 AM
well, you have a read() function there
So I guess you read it 😃
Aug 15, 2022, 10:12 AM
I mean how to do it using solidity
Read val from other tx
Aug 15, 2022, 10:15 AM

© 2024 Draquery.com All rights reserved.