diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-10 07:57:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-10 07:57:10 +0800 |
commit | 1471585af082632b33eae5bf489d0ae0b277b369 (patch) | |
tree | e384ca2962012872d4cdaf3f2108c2eab8cd7ef9 /ethereal/assets/samplecoin | |
parent | 0bf2d24cb030ec53abedf483189ecbaa3c9676be (diff) | |
download | go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar.gz go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar.bz2 go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar.lz go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar.xz go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.tar.zst go-tangerine-1471585af082632b33eae5bf489d0ae0b277b369.zip |
Moved Ext app js to its own dir
Diffstat (limited to 'ethereal/assets/samplecoin')
-rw-r--r-- | ethereal/assets/samplecoin/samplecoin.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ethereal/assets/samplecoin/samplecoin.html b/ethereal/assets/samplecoin/samplecoin.html index 50182c136..6330b9ea2 100644 --- a/ethereal/assets/samplecoin/samplecoin.html +++ b/ethereal/assets/samplecoin/samplecoin.html @@ -5,19 +5,20 @@ <link rel="stylesheet" href="bootstrap.min.css"> <link rel="stylesheet" href="bootstrap-theme.min.css"> <link rel="stylesheet" href="samplecoin.css"> -<script src="promise.min.js"></script> <meta name="viewport" content="minimum-scale=1; maximum-scale=1; initial-scale=1;"> <script type="text/javascript"> -var jefcoinAddr = "136060151ebf11cd82456de1ab9406cc2a762b36" +var jefcoinAddr = "b7cb72c47ec4f31751d0d628b5a33fd6671bbba0" var mAddr = "" function createTransaction() { var addr = document.querySelector("#addr").value; var amount = document.querySelector("#amount").value; - var data = (("0x"+addr).pad(32) + amount.pad(32)).unbin() + addr = ("0x"+addr).pad(32) + amount = amount.pad(32) + var data = (addr + amount).unbin(); eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(receipt) { debug("received tx hash:", reciept.address) }) |