134 points · by minoo555 · 5y ago · 115 comments
A few years ago, deploying a smart contract only cost a few dollars. It raised questions like “wouldn’t anyone then spam the blockchain and increase its size in non-scalable way?” I guess pricing “solved” that issue.
We considered Avalanche as an alternative, as it supports the same VM for smart contracts, but integrations with tools (metamask, etherjs) and services (infura, opensea) is not there yet, and or course everybody is on Ethereum anyway so there’s an egg and chicken issue at play.
Avalanche is no different
I mention those modules as those are the ones needed to provide the same services as a notary. This raise the issue that ETH is starting to no longer be competitive with the establishment. It's a bit aggravating as for many this was the main purpose.
the establishment has scale of billions of users and decades or even centuries over which it has evolved its machinery. Doing something "on a computer/over internet" allowed to beat a lot of incumbents in less technical areas, while in this case the incumbent - the fintech - is itself one of the first adopters of the various "on a computer/over internet" tech.
So just doing it "on a blockchain" may be not enough. Especially given that, like negative feedback in control systems, the blockchain has that limiting control loop of "higher demand and wider adoption -> higher transaction fees" which naturally results in curbing of the demand/adoption. I.e. economy of scale works in the opposite direction on blockchain.
is there a standard body of knowledge compiled somewhere abuot this?
For which Openzepplin proposes documentation and an implementation https://docs.openzeppelin.com/contracts/4.x/api/metatx https://github.com/OpenZeppelin/openzeppelin-contracts/tree/...
Proxied versions of standard contracts are also proposed by Openzeppelin: https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-u... https://github.com/OpenZeppelin/openzeppelin-contracts-upgra...
For KYC you'll need to implement your own ERC20 compatible token with some checks in the transfer functions. The CMTA is the Swiss contract reference and proposes one: https://github.com/CMTA/CMTA20
Amazing, someone went thru the headaches of trying to make ERC20 compliant with some local laws, wow, I'm just speechless.
I suppose there can be some value in unlocking company equity, but placing freezable contract on a public blockchain? I suppose that might make audits easier or something. However, might as well put full trust into the person with the freeze key, would likely be a lot cheaper.
Every stablecoin has the freeze function so far, and that underpins DeFi, which has become sizable. I'm probably just dumb.
Do you have a demonstration of that proposition? I see no reason why that needs to be true at all. There's a big gap between "free" and "extreme costs".
You can't just put something on thousands of devices, indefinitely, for low to no cost.
In fact, it _has_ to be at least more expensive that whatever the cheapest highly reliable storage provider offers. Otherwise I'm going to be using everyone's machines to host all sorts. Same with webhosting, and any other kind of hosting.
That is only one factor in the equation. The cost of performing a calculation is tiny, on the other hand. How you would, even conceptually, be able to arrive at some minimum dollar figure for such a thing, that is large in comparison to, say a person's average income is unclear.
- removed execution from consensus. I believe consensus just gets the execution result from elsewhere and thus doesn’t get slowed down by execution (the bottleneck when I was working on libra/Diem)
- have a random committee that verifies the execution, as opposed to everyone on the network like in Ethereum
What enforcement benefit does the network provide? I'd contend it's entirely superfluous to a smart contract system, which could just offer building blocks from a trusted third party instead for constructing contracts, and that trusted third party could also notary the transaction and provide arbitration.
All of these complex problems are already solved (trust, arbitration etc) and involve recourse to real legal systems whether you use some distributed contract or a traditional one.
The area in business contracts which is a mess and could do with attention is standard clauses for different industries, which are well understood by everyone, diffs between contracts etc etc.
They are autonomous agents that act as your counterparty.
where does the code actually execute? what's the code writen in?
whats stopping malicious code running?
On every Ethereum node that verifies it. It's usually written in Solidity and compiled to EVM (Ethereum Virtual Machine) bytecode (so it can also be written in other higher-level languages).
> whats stopping malicious code running?
It's sandboxed and since it's limited to the EVM, there isn't really any "malicious" code that could break out of the EVM AFAIK. Inside the EVM it's probably more of a philosophical question whether any code can actually be considered "malicious".
There are many networks that claim to do this, but we have yet to see how this is going to play out. A big question here is if these networks are in practice as resistant to attacks and decentralized as (post DAO) ETH.
Some of you people who down-vote without providing a proper reason are down right evil.
It's amazing watching this unfold in real time, greed really does change people.
People contort themselves into pretzels to deny the obvious, all common sense immediately goes out of the window, sudden onset of selective memory, etc.
Just buy the coin you hate.
But there is a reason why what he posts is just non-sense. Cardano doesn't scale farther than Ethereum or in fact any other blockchain that bets heavily on decentralization. Cardano can do nowadays a theoretical maximum of 6-7 transactions per second [0]. In practice, it's doing around 1 transaction per second because it doesn't see much use [1], which is the true reason why transaction costs are negligible. While Ethereum does 15-20 transactions per second, day in and day out and is working at full capacity [2], which is why Ethereum transactions can be quite costly as the demand is greater than the available blockspace. These are by the way real transactions, not the theoretical maximum I presented for Cardano.
Transaction throughput has nothing to do with the programming language used, it's an intrinsic limitation of the blockchain and is dependent on a bunch of network parameters that you can tweak (block size, block time and transaction size). You can tweak them a bit but if you tweak severely then you pay the cost through decentralization as the compute and network requirements of the node rise quickly, requiring beefier nodes which lead to centralization. A centralized blockchain is pointless, it's like running a SQL database with extra steps. See the recent Solana outage [3].
The programming language thing is just a distraction that has nothing to do with scalability. Ethereum doesn't run Solidity, the Ethereum Virtual Machine (EVM) runs the low-level OPCODES that it has defined [4]. Solidity code is transpiled into lower level languages and converted into the EVM's OPCODES. In fact, there are other programming languages to write Ethereum Smart Contracts like Fe (heavily inspired by Rust) [5] or Vyper (heavily inspired by Python) [6]. In the same way, Cardano doesn't run Haskell or Plutus or Marlowe, it runs the OPCODES defined by its Virtual Machine (IELE). Poor language-design and poor transpiling can lead to some inefficiencies in the performance of the code but in the end the true bottleneck is in the network throughput.
Blockchain scalability is solved via Layer 2s and sharding. Cardano is very far behind Ethereum on this regard considering Ethereum has deployed as of today many different layer 2s [7] while Cardano doesn't have any and you cannot expect to see any for the foreseeable future as they just released smart contracts. Cardano's layer 2 roadmap is also antiquated as it relies on state channels [8], which is a scalability solution that is intrinsically more limited than Rollups. State channels were all the rage a couple of years ago but they have been superseded by rollups as they are far less limited [9].
[0] https://www.reddit.com/r/cardano/comments/prbhp4/cardano_blo...
[2] https://etherscan.io/chart/tx
[3] https://cointelegraph.com/news/solana-attributes-major-outag...
[5] https://github.com/ethereum/fe
[6] https://vyper.readthedocs.io/en/stable/
[8] https://cardanians-io.medium.com/hydra-cardano-scalability-s...
[9] https://www.reddit.com/r/cardano/comments/pf25jk/comment/hb1...
That kind of certainty has a beauty to it.
Just for $436 per contract...
Many are literally forking popular DApps like Pancake Swap and just shifting the underlying chain to one of the better scaled solutions.
Because you can "peg" an asset from ethereum to an equivalent on BSC and then swap back, I don't think the "many-smartchains, one-main-chain" approach of Polkadot or Cardano will ever be sustainable long term. Simply no point.
It’s been making progress and Vitalik is a smart and capable leader of the project imo. High gas fees in the current system are arguably a sign of high demand.
I find it mindblowing that people willingly lock in so much money given how uncertain the whole thing is. There's no specific explanation about what happens if the 2.0 release is delayed repeatedly (like it has been in the past) or if it isn't successful and fails in some way. There's a lot of "trust Vitalik" going around which contradicts everything crypto pretends to be about.
I think hard improvements require effective coordination and someone who can pull that off. Vitalik is part of the reason I think ETH is more likely to be successful than competitors in the space (in addition to their head start).
There's also the fact that strong leadership trades away most of the decentralisation.
I'm sure this software project which has changed scope and has been delayed many times and is led by a 20-something-year-old with a personality cult around him will be successful. So convinced that I'll send them money which they promise they'll send back at an unspecified date.
Decentralised and trustless? Please...
Layer 2 is a hack given the current constraints, but it comes with its own trade offs that I think are worse.
It's not about storing off-chain, you compute off-chain and post to the network a cryptographic proof of the computation.
Rollups provide something akin to lossless compression proofs of computation. You execute the computation off-chain with high throughput and post a proof to the Ethereum network, this proof contains everything necessary to verify the correct execution of the computation. Sounds mind-blowing but we can thank smart mathematicians for figuring out the cryptography that makes it possible.
This means that we can scale off-chain while enjoying the security guarantees of the blockchain.
These techniques allow scaling the network throughput towards the 1000-4000 transactions per second range. Which together with data-availability sharding will push the throughput towards the 100K transactions per second range.
To be noted that this is not anymore a theoretical construction, these things are live running today on Ethereum. You can check the different solutions as well as detailed explanations of their trade-offs, limitations, etc... Here: https://l2beat.com
You can have the same amount of PoW on very little or very high throughput networks, the two are almost completely orthogonal.
We've been doing vesting of assets for 4 years. You can also use an oracle (cron job with conditional metadata) to determine which portions to withhold for taxes under various tax regimes.
You can autoliquidate those tax withheld assets into a liquidity pool if your company needs the liquidity for taxes.
Many projects and services have locked assets but we found it incredibly difficult to conform that concept to the US tax system until we built our own way. What’s onchain is similar to any token lock agreement. Just autoredirecting portions of payouts and autoliquidating for this purpose is still not common.
Although we don't find programmatic vesting to be novel, anymore, and just the tax withholding part to be better: outside of the smart contract space we see a ridiculous amount of overhead, confusion, opaqueness, time and red tape just to accomplish a vesting agreement. So, we aren't evangelizing smart contracts and “blockchain” anymore but we will tell people about the more relatable things that we are doing.
https://www.coinspeaker.com/guides/what-is-initial-litigatio...
... few hours later, after hitting the free 100,000 requests/day limit:
> We've hit the free 100k req/day on @infura_io, and switched to @AlchemyPlatform
But in his own screenshot it shows AlchemyPlatform also has a 100,000 requests/day free limit. Ummm? OK. $436 to deploy a smartcontract, $0 to pay for a server running static HTML and some JavaScript bundle.
> project-memento.com
Wait, what is this? You pay this guy to own a letter in his 20x20 ASCII square? It's a joke, right? Why would someone pay money for that? I will pay you twelve cucumbers to write LAAAAAAAAAAAAAAAAAME from x:0 - y:16 to x:19 - y:16.
"Crypto" hits a new peak insanity every day. Absolutely bonkers.
Curious why you think so? Also agree Solana is quite centralized but I wouldn't say it's a scam.
There's also no disclosure on what price did the initial round happen at. 40 cents/80 cents /1$? If you buy Gold/Copper you have a fair idea on what the mining cost is for the industry. These are just fairytales propagated by further vc money to build more virtual fantasies on the database they control.
revolutionary = bought the presale