Are Solidity and the Javascript API finished enough to start building my DApp's with or should I wait?
Can I still use Serpent, or is Solidity what I should be using going forward?
Side Note Questions: For registration style DApp's, say a Company Registration DApp. How will the string data (of say a company name or ticker symbol) be stored? I assume in Swarm and not in contract BC storage? If I started a Company Registration Contract, could I design the DApp so that companies registering pay for their storage and upkeep costs of their data and not me or the contract creator?
Cheers
0 ·
Comments
Edit: I guess in your case it requires some lording, but maybe consider another contract for automating all the costs. Like maybe each registration gets it's own account assigned and a dapp the users installs to alert when they need to replenish the account. Push all the cost off to the users for storage and maintenance.
If so, small strings are stored in the chain. My next question is where. Are the strings stored in the transaction they were sent in the block that transaction resides, or are they stored somehow in the contract I'm interacting with a few blocks back? My natural inclination is to say that they are stored in the transaction data in the block that transaction resides, and when I interact with the contract to say, retrieve registration data, I'm actually working through the chain my node has access to, in order to determine what data has been stored in the contract and what should be returned. Is this correct?
What happens when I'm using the Javascript API, for example, and I get contract storage data. Am I actually parsing and indexing through the entirety of the chain to get this data, or is it somehow stored in the actual contract's block, and the transactions sent to the contract only a marker of consensus not a data store?
@Bitcoinzie while a name registry may not be a DApp, I think doing global registries on the block chain would be useful. Why let ICANN, for example, have all the fun for domain names. Am I wrong in thinking this? It seems like the BC would be the perfect place for this sort of thing (i.e. like a namecoin deal).