Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
043920d1
Commit
043920d1
authored
Jul 04, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed sample coin
parent
9e38ca55
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
116 deletions
+0
-116
bootstrap-theme.min.css
ethereal/assets/samplecoin/bootstrap-theme.min.css
+0
-7
bootstrap.min.css
ethereal/assets/samplecoin/bootstrap.min.css
+0
-7
icon.png
ethereal/assets/samplecoin/icon.png
+0
-0
samplecoin.css
ethereal/assets/samplecoin/samplecoin.css
+0
-34
samplecoin.html
ethereal/assets/samplecoin/samplecoin.html
+0
-68
No files found.
ethereal/assets/samplecoin/bootstrap-theme.min.css
deleted
100755 → 0
View file @
9e38ca55
This diff is collapsed.
Click to expand it.
ethereal/assets/samplecoin/bootstrap.min.css
deleted
100755 → 0
View file @
9e38ca55
This diff is collapsed.
Click to expand it.
ethereal/assets/samplecoin/icon.png
deleted
100644 → 0
View file @
9e38ca55
84.7 KB
ethereal/assets/samplecoin/samplecoin.css
deleted
100644 → 0
View file @
9e38ca55
/* Space out content a bit */
body
{
padding-top
:
20px
;
padding-bottom
:
20px
;
}
/* Everything but the jumbotron gets side spacing for mobile first
* views */
.header
,
.marketing
,
.footer
{
padding-right
:
15px
;
padding-left
:
15px
;
}
/* Custom page header */
.header
{
border-bottom
:
1px
solid
#e5e5e5
;
}
/* Make the masthead heading the same height as the navigation */
.header
h3
{
padding-bottom
:
19px
;
margin-top
:
0
;
margin-bottom
:
0
;
line-height
:
40px
;
}
.jumbotron
{
text-align
:
center
;
border-bottom
:
1px
solid
#e5e5e5
;
margin
:
0
auto
;
width
:
300px
;
}
ethereal/assets/samplecoin/samplecoin.html
deleted
100644 → 0
View file @
9e38ca55
<html>
<head>
<title>
jeffcoin
</title>
<link
rel=
"stylesheet"
href=
"bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"samplecoin.css"
>
<meta
name=
"viewport"
content=
"minimum-scale=1; maximum-scale=1; initial-scale=1;"
>
<script
type=
"text/javascript"
>
var
jefcoinAddr
=
"22fa3ebce6ef9ca661a960104d3087eec040011e"
var
mAddr
=
""
function
createTransaction
()
{
var
addr
=
(
"0x"
+
document
.
querySelector
(
"#addr"
).
value
).
pad
(
32
);
var
amount
=
document
.
querySelector
(
"#amount"
).
value
.
pad
(
32
);
var
data
=
(
addr
+
amount
).
unbin
();
eth
.
transact
(
mAddr
,
jefcoinAddr
,
0
,
"50000"
,
"1000000"
,
data
,
function
(
receipt
)
{
debug
(
"received tx hash:"
,
reciept
.
address
)
})
}
function
init
()
{
eth
.
getKey
(
function
(
sec
)
{
mAddr
=
sec
;
eth
.
getSecretToAddress
(
sec
,
function
(
addr
)
{
eth
.
getStorageAt
(
jefcoinAddr
,
addr
,
function
(
storage
)
{
document
.
querySelector
(
"#current-amount"
).
innerHTML
=
storage
;
});
eth
.
watch
(
jefcoinAddr
,
addr
,
function
(
addr
,
value
)
{
document
.
querySelector
(
"#current-amount"
).
innerHTML
=
value
});
});
});
}
</script>
</head>
<body
onload=
"init();"
>
<div
class=
"container"
>
<div
class=
"header"
>
<h3
class=
"text-muted"
>
JeffCoin
</h3>
</div>
<div
class=
"jumbotron "
>
<img
src=
"icon.png"
>
<div>
Amount:
<strong
id=
"current-amount"
></strong></div>
<div
id=
"transactions"
>
<div
class=
"form-group"
>
<input
id=
"addr"
class=
"form-control"
type=
"text"
placeholder=
"Receiver address"
></input><br>
<input
id=
"amount"
class=
"form-control"
type=
"text"
placeholder=
"Amount"
></input><br>
</div>
<button
class=
"btn btn-default"
onclick=
"createTransaction();"
>
Send Tx
</button>
</div>
</div>
</div>
<div
id=
"debug"
style=
"border: 1px solid black; min-height: 30px;"
></div>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment