在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:halilozercan/halocoin开源软件地址:https://github.com/halilozercan/halocoin开源编程语言:Python 96.6%开源软件介绍:HalocoinIn development What is this?Halocoin is my personal project to learn, experiment and build around blockchain technology. This project is by no means production ready or close to actual implementation of Bitcoin protocol. However, I have tried to imitate what is proposed in Bitcoin white paper. For example, it is still missing Merkle Trees for transactions which is a core property of Bitcoin. Although source code is not related to original repository anymore and I already removed the fork tag, I want to acknowledge my initial start point. I thank zack-bitcoin for putting effort into developing a minimal blockchain. Objectives of this project:
Blockchain services include:
Getting startedHalocoin is packaged according to distutils guidelines that is supported by PyPI. As like any other python project, I recommend you to install this on a virtualenv. Also, Halocoin only works and tested on Python 3 and above.
or
How to run
You can start the client by running
Every service associated with blockchain runs at startup. This implies that your client will immediately start synchronizing with p2p network.
Initial peer list is hard-coded into client but you can update this list by updating your config file. Config file can be specified at startup or can be edited manually after first start.
Default data folder is inside your home directory and named How to useAs mentioned, halocoin comes with a minimalistic CLI but all it does is converting your command lines request into HTTP requests. Then, it sends these requests to the running Restful API. If you prefer, you can use this API with another client. To interact with blockchain, you need to have an account, a wallet. You can create a wallet by running
or by making an HTTP request to (GET or POST)
If you prefer CLI, you will be prompted to enter the password that is going to be used for encryption of the wallet. This password prompt will always pop up when you use your wallet if you do not set a default wallet. More documentation coming soon!!Since CLI is not ready and UI is ported from another project originated from this repository, I prefer to use Restful API to talk with the client. List of wallets
New Wallet:
Query Parameters:
Blockcount:
Info Wallet:
Returns information about a wallet. Address, public key, current balance and etc. If no parameters are given, client will return information about current default wallet. If it does not exist, an error will be thrown. Query Parameters:
Mempool
Transactions that are waiting in the pool Blocks
Query Parameters:
Balance
Query Parameters:
Send
Send halocoins to another address. Query Parameters:
|
2022-08-15
2022-08-17
2023-10-27
2022-09-23
2022-08-18
请发表评论