Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nucleo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miguel Montes
nucleo
Commits
a38ce29e
Commit
a38ce29e
authored
6 years ago
by
Robert Martin-Legene
Browse files
Options
Downloads
Patches
Plain Diff
Marked down the old README
parent
4d4da6f5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+0
-46
0 additions, 46 deletions
README
README.md
+48
-1
48 additions, 1 deletion
README.md
with
48 additions
and
47 deletions
README
deleted
100644 → 0
+
0
−
46
View file @
4d4da6f5
1) Install Ubuntu
2) add-apt-repository -y ppa:ethereum/ethereum
3) apt update
4) apt install ethereum solc jq ncurses-bin
5) run start.sh
6) create your contract (there is already one deployed, so *do*not* confuse the two)
7) insert.sh "I'm doing great today."
8) wait for next block to be sealed/mined: sleep 15
9) verify.sh "Hi there"
10) verify.sh "I'm doing great today."
11) Try the basic explorer.sh
12) consider this crontab: @reboot bfa/network5445/start.sh
== network5445/start.sh
requires: geth
Starts a node on the 5445 BFA test net. Creates a genesis.json if you don't have one already.
One is already included in this package, which will allow you to connect to the existing BFA testnet.
== create.contract
requires: geth, solc, jq
Compiles and deploys a contract to the blockchain. A local "node1" must already be running.
Argument 1 is the contract to compile.
Example: ./create.contract src/contract.TimestampDocument.sol
== insert.sh
requires: geth
Inserts the checksum of a text into the compiled contract.
== verify.sh
requires: geth
Returns the first blocknumber where the SHA256 checksum of a document was seen (0 for no match).
== explorer.sh
requires: curl, jq, tput (ncurses-bin)
Simple script to look at blocks
== src/contract.TimestampDocument.sol
The initial Timestamp service. Could be made better.
This diff is collapsed.
Click to expand it.
README.md
+
48
−
1
View file @
a38ce29e
# Blockchain Federal Argentina
# Blockchain Federal Argentina
# TEST NETWORK
## TEST NETWORK
1.
Install Ubuntu
2.
add-apt-repository -y ppa:ethereum/ethereum
3.
apt update
4.
apt install ethereum solc jq ncurses-bin
5.
run start.sh
6.
create your contract (there is already one deployed, so
*do*
not
*
confuse the two)
7.
insert.sh "I'm doing great today."
8.
wait for next block to be sealed/mined: sleep 15
9.
verify.sh "Hi there"
10.
verify.sh "I'm doing great today."
11.
Try the basic explorer.sh
12.
consider this crontab: @reboot bfa/network5445/start.sh
## network5445/start.sh
requires:
**geth**
Starts a node on the 5445 BFA test net. Creates a genesis.json if you don't have one already.
One is already included in this package, which will allow you to connect to the existing BFA testnet.
## create.contract
requires:
**geth**
,
**solc**
,
**jq**
Compiles and deploys a contract to the blockchain. A local "node1" must already be running.
Argument 1 is the contract to compile.
Example:
`./create.contract src/contract.TimestampDocument.sol`
## insert.sh
requires:
**geth**
Inserts the checksum of a text into the compiled contract.
## verify.sh
requires:
**geth**
Returns the first blocknumber where the SHA256 checksum of a document was seen (0 for no match).
## explorer.sh
requires:
**curl**
,
**jq**
,
**tput**
_(ncurses-bin)_
Simple script to look at blocks
## src/contract.TimestampDocument.sol
The initial Timestamp service. Could be made better.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment