blockchain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blockchain [2017/11/29 05:15] – [Links] stephenblockchain [2017/12/01 01:19] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ===== Links ===== ===== Links =====
  
 +  * [[https://nethereum.readthedocs.io/en/latest/|Nethereum Documentation]]
   * [[https://github.com/ethereumjs/testrpc#usage|Testrpc command line options]]   * [[https://github.com/ethereumjs/testrpc#usage|Testrpc command line options]]
   * [[https://stackoverflow.com/questions/47543679/how-do-i-compile-a-solidity-contract-with-an-import-to-standalone-byte-code|How do I compile a Solidity contract with an import to standalone byte code?]]   * [[https://stackoverflow.com/questions/47543679/how-do-i-compile-a-solidity-contract-with-an-import-to-standalone-byte-code|How do I compile a Solidity contract with an import to standalone byte code?]]
Line 13: Line 14:
 </code> </code>
  
 +==== Security ====
 +
 +To do anything that requires gas, either unlock the account beforehand with the password:
 +
 +<code>
 +var address = "...";
 +var password = "...";
 +var web3 = new Web3();
 +var unlockAccountResult = await web3.Personal.UnlockAccount.SendRequestAsync(address, password, 120);
 +Assert.IsTrue(unlockAccountResult);
 +</code>
 +
 +Or use the private key to create the Web3 object:
 +
 +<code>
 +var privateKey = "...";
 +var web3 = new Web3(new Account(privateKey));
 +</code>
 +
 +===== Questions =====
 +
 +  * [[https://stackoverflow.com/questions/47543679/how-do-i-compile-a-solidity-contract-with-an-import-to-standalone-byte-code|How do I compile a Solidity contract with an import to standalone byte code?]]
 +  * How to I get the result of calling an external function with Nethereum?
  
 ===== Tool Set Install ===== ===== Tool Set Install =====
blockchain.1511932532.txt.gz · Last modified: 2017/11/30 06:15 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki