dyne / fabchain Goto Github PK
View Code? Open in Web Editor NEWFABchain network based on geth + clique
Home Page: https://fabchain.net
License: GNU Affero General Public License v3.0
FABchain network based on geth + clique
Home Page: https://fabchain.net
License: GNU Affero General Public License v3.0
Trying the latest commit (2b3e5b0) and just running make run
starts the node but it's not syncing.
$ make run
░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀
No account created
try: make account
UPNP client not found, unable to open P2P port forwarding
Using image: dyne/dyneth:0.8.0-5ae168ab95d9bf98a380d107f7ad8a4ce29f4e5c
Launching docker container for the HTTP API service:
P2P networking through port 30303
HTTP API available at http://127.0.0.1:8545
run 'make console' to attach the geth console
run 'make shell' to attach the running docker
docker run --restart unless-stopped -d \
--mount "type=bind,source=/home/sargue/testnet/contracts,destination=/contracts" \
--mount "type=bind,source=/home/sargue/testnet/data,destination=/home/geth/.ethereum" \
-p 8545:8545 dyne/dyneth:0.8.0-5ae168ab95d9bf98a380d107f7ad8a4ce29f4e5c \
bash /start-geth-api.sh "" "--syncmode snap --http.vhosts "*" --http.corsdomain "*""
b420ea0c392f1e12103d6402f33194f650fb36962b9aa597a6c25a6db0c2f789
$ make logs
░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀
No account created
try: make account
Container running: b420ea0c392f
docker logs b420ea0c392f -f
Public address:
Bootnodes: enr:-KO4QCI4-nPHAzSi07K9XaTUkKGd9yeNUeFl_z0nRF5CbR7iE-OMqF9zQzwHZUkv6uN9xV-RIjxEcyW7TbM9FtnmYjGGAX8jtfSkg2V0aMfGhCO-XOSAgmlkgnY0gmlwhJ9F0KSJc2VjcDI1NmsxoQJiITeT_7ThS6_nqM53Z5gvfr29ztrgZ0GWx1H5jOeVyIRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QMmx9c5KEs7AfmVg_l_pFpK6AJlu5HhI_iXVXVS5cJFlYGzUPYjpXUVwzA__RkUfHsChX2s3xDmY5_sqI6zP21SGAX8jtfZXg2V0aMfGhCO-XOSAgmlkgnY0gmlwhDEMT9uJc2VjcDI1NmsxoQPOPkps-dyuNkMeeFGg16lR7Qr42UqGmutHd26a_ccZ_oRzbmFwwIN0Y3CCdl-DdWRwgnZf,enr:-KO4QBiz8RzvPTKbP6t1Sdc0FPcxP7JPRfY5xtbRktM5ydPVROVYtGwOeikdg2P7TtqdW1sgistCZ9cjaJFJONc1qrWGAX8jtfcWg2V0aMfGhCO-XOSAgmlkgnY0gmlwhEEV8IaJc2VjcDI1NmsxoQNBS_Lb98z-J00sCnmjw47lJFEOpOeqBudo9nys00E9UYRzbmFwwIN0Y3CCdl-DdWRwgnZf
Public IP: [redacted]
[*] Zenroom v2.0.0 - secure crypto language VM
. Zenroom is Copyright (C) 2017-2021 by the Dyne.org foundation
. For the original source code and documentation go to https://zenroom.org
. Zenroom is free software: you can redistribute it and/or modify
. it under the terms of the GNU Affero General Public License as
. published by the Free Software Foundation, either version 3 of the
. License, or (at your option) any later version.
. Zenroom is distributed in the hope that it will be useful,
. but WITHOUT ANY WARRANTY; without even the implied warranty of
. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
. GNU Affero General Public License for more details.
. You should have received a copy of the GNU Affero General Public License
. along with this program. If not, see http://www.gnu.org/licenses/
. using default configuration
. Release version: 2.0.0
. Build commit hash: 01deffee
. ECDH curve is SECP256K1
. ECP curve is BLS381
. Memory in use: 489 KB
. reading Zencode from stdin
. loaded file (55 bytes)
[*] Script successfully executed
[*] Zenroom teardown.
. Memory used: 491 KB
. Time used: 9398
Starting geth for chainID: fabt (1717658228)
It just sits there. There seems to be not connecting to any node:
$ make console
░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░█▀█░▀█▀░█▀█
░█▀▀░█▀█░█▀▄░░░█░░░█▀█░█▀█░░█░░█░█
░▀░░░▀░▀░▀▀░░░░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀
No account created
try: make account
Console starting
docker exec -it --user geth b420ea0c392f geth attach
Welcome to the Geth JavaScript console!
instance: Geth/v1.10.16-stable/linux-amd64/go1.17.6
at block: 0 (Thu Jan 01 1970 00:00:00 GMT+0000 (UTC))
datadir: /home/geth/.ethereum
modules: admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
To exit, press ctrl-d or type exit
> eth.blockNumber
0
> net.peerCount
0
>eth.syncing
false
Is the testnet network working right now? The website seems to be down (https://fabchain.net/).
Metamask links to an executed transaction once done using a url that is slightly incompatible with our explorer:
/tx/
-> /#/transaction/
the /tx/
part of the address should be translated to /#/transaction/
Can be done using github actions: https://github.com/upptime/upptime
Example:
$ make genesis-create
/bin/sh: 1: zenroom: not found
/bin/sh: 1: jq: not found
###########################
now RUN: make genesis-init
###########################
Those tools are probably inside the docker image so instead of trying to run directly on the host perhaps a solution is to run it inside a docker instance mounting the proper paths.
ethstats server https://github.com/goerli/ethstats-server
We are introducing an ERC20 (token) used to trade goods and services, next to the eth (coin, currently named "FAB"), needed to pay transactions.
This ERC20 will be initially (maybe forever) not exchangable with the eth. In order to keep things simple and stick to Ethereum standard name, we should use a naming policy like:
Currently this requires only a change in this line
Somewhere someone mentioned that is possible to produce a simple link that when clicked configures automatically the network for metamask. Any info?
Analyse the logs we sampled from testnet and identify common attacks to make a new fail2ban rule that prevents them to flood servers.
blockchain fork for simulation: https://eth-brownie.readthedocs.io/en/latest/index.html
package manager: https://www.ethpm.com/
ape-safe and other useful web3 tools: https://github.com/banteg
According to the README this application is compatible with WSL.
This application is made to work on Apple/OSX, Microsoft/WSL or GNU/Linux desktop systems.
But currently running make run
on a Windows 10 + WSL2 + Docker 4.5.1 refuses to start the geth daemon inside the container.
Fatal: Error starting protocol stack: listen unix /home/geth/.ethereum/geth.ipc: bind: operation not supported
Bug, documentation issue or am I doing something wrong?
The file /home/app/dyneth/data/geth.log
(fixed path) should be put under logrotation
Running make run
tries to pull a docker image using a tag built from a hash and a version string. They appear to be out of sync currently as the version says 0.7.0 and the hash 516fe1f1f82d1114ffb03fd9cd8d4a14100b64de
which points to an unpublished version.
Unable to find image 'dyne/dyneth:0.7.0-516fe1f1f82d1114ffb03fd9cd8d4a14100b64de' locally
docker: Error response from daemon: manifest for dyne/dyneth:0.7.0-516fe1f1f82d1114ffb03fd9cd8d4a14100b64de not found: manifest unknown: manifest unknown.
Reverting the version string to 0.6.0 allows the script to run.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.