Founder of Ludu and overall code geek. I like building cool stuff and designing things!
Tristan Edwards rated Sannolikhet & Statistik
Tack vare kursen klarade jag tentan på första försöket! 👍
@yahya: That's right, the migrate command will automatically figure which contracts need to be compiled before the migration. "truffle compile" simply compiles your contracts into bytecode, but doesn't deploy them anywhere.
@yahya: Good question! In the "Contract manager" chapter you can see how to get the address of the recently deployed contract. After that I suppose you could use Node's writeFile function to create a text document.
@yahya: * The gas used in a certain operation will always remain the same. The price that you pay for it varies however! So if you're okay with waiting a longer time for your operation to be performed, you can set a very low price (in ether) for the gas you consume. ** Yes, deploying a contract requires at least one transaction and can be quite expensive depending on how big your smart contract is. *** Generally yes. However, there are some functions that don't modify any state, and that are free to call. You'll see this in the next chapter. :)
@5avage: Thanks for the heads up. I've updated the lesson!