https://bearn-defi.medium.com/bvaults-busd-alpaca-strategy-e...
https://bearn-defi.medium.com/bvaults-busd-alpaca-strategy-e...
two things that come to my mind:
- There is really no random() function due to need for determinism
- Space vs. Time complexity is distorted, the gas you pay for instruction vs. byte is really different economics compared to AWS EC2 instance/hour etc.
It has been some time since I did it(Late 2018 I think), but was really informative to get the mindset and different constraints people deal with in smart contract world.
[1] https://www.cryptokitties.co/kitten-class/breeding/introduct...
And it worked.
Solidity is just a programming language to call functions and code on the blockchain. You can theoretically write it in any language but need to compile down to EVM at some point.
Solidity wasn't writting from the ground up to be safe and secure. There are a number of projects like vyper, which is a pythonesque language that compiles to the EVM. It's more centered around safety.
I don't understand this part. I thought crypto was decentralised and so nobody controls anything. Yet, this suggests the opposite... some entitiy somewhere can shut you out on a whim.
They wont and dont block the transaction though. The bridges to other blockchains are very fast, and hacker would be prudent to move their funds immediately to a blockchain with greater security.
You get the idea that the article is talking about money but the details seem crazy like a dream.