daxeel / blockshell Goto Github PK
View Code? Open in Web Editor NEW๐ Minimal Blockchain Learning CLI
License: MIT License
๐ Minimal Blockchain Learning CLI
License: MIT License
Hello,
How can i change "127.0.0.1:5000" by "mylocalip:5000" ?
Blockshell is on my linux server and I would like access to web page from my windows client.
thanks !
I have followed the installation instructions and installed it sucessfully but on running blockshell
it gives the following error
(venv) palash25@Lenovo-G50:~/Dev/bshell/blockshell$ blockshell
Traceback (most recent call last):
File "/home/palash25/Dev/bshell/venv/bin/blockshell", line 11, in <module>
load_entry_point('blockshell', 'console_scripts', 'blockshell')()
File "/home/palash25/Dev/bshell/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/palash25/Dev/bshell/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
return ep.load()
File "/home/palash25/Dev/bshell/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2408, in load
return self.resolve()
File "/home/palash25/Dev/bshell/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/palash25/Dev/bshell/blockshell/bscli.py", line 60
"""
^
SyntaxError: invalid syntax
Hello!
Thank you for this software! It's impressive :)
Can I store the result to transfer between hosts and usage for something else?
Thank you.
Hello,
I'm quite new to this. Don't understand python very well. Just followed the instructions here and everything worked well until i tried opening the web using 'pyton web.py' ,which reported the below error [attached png]. Can you let me know how to fix this ?
I run Windows 7, with python 2.7.13.
You guys doing a great job. Very useful stuff for beginners like me.
Thanks
Ashwin
I installed blockshell by copying all the commands in the readme and when I run blockshell
I get
Traceback (most recent call last):
File "/usr/bin/blockshell", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
@_call_aside
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'blockshell' distribution was not found and is required by the application
When i try to click the web.py file, it run successfully to display the index page , however, when i tried to click the allblocks url page it gives me an error saying saying:
json.loads(...) ValueError: Expecting value: line 1 column 1 (char 0)
@app.route('/allblocks') def mined_blocks(): """ Endpoint to list all mined blocks. """ with open('chain.txt', 'r') as jsonfile: data = json.loads(jsonfile) jsonfile.close() return render_template('blocks.html', data=data)
I'm sorry in advance if I'm wrong, but don't you also need to add self.previousHash
to hashData
at
blockshell/blockchain/chain.py
Line 19 in 6aa5eec
"Simple" request :).
Thanks!
While inside the virtualenv, it'd be good to have an option to exit the blockshell prompt without really closing the virtualenv altogether. control + C
(Mac OS) merely aborts the process and does not shut it down properly.
If so, what could be possibly added?
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.