Become a member
Sign in
James Wei
James Wei

James Wei

Tech Lead @ LinkedIn

243 Following
38 Followers
·
  • Profile
  • Claps
  • Highlights
  • Responses

Highlighted by James Wei

See more

From Mechanism Design Security in Smart Contracts by Matthew Di Ferrante

… contract (perhaps the prize for this solution is in the millions, and hence many are watching it), they can scan the network and check when someone submits a valid solution. Once they see this tx in the mempool, they can take the solution, and resubmit it with their own address with a higher gas price, and if they manage to get their tx in before you, they’ll have stolen your prize!

From Mechanism Design Security in Smart Contracts by Matthew Di Ferrante

Of course, another scenario is the miners themselves stealing your prize. In that case, they don’t even have to play the gas price game, they can simply choose not to include your tx in their block, and place their own in with the solution.

Claps from James Wei

See more

Is GraphQL Still Relevant in an HTTP2 World?

Marc-André Giroux

Look & Feel Changes for Juno

Daniel Foré

Flutter Development on a Pixelbook

Tim Sneath