All Projects → Bytom → Bytom

Bytom / Bytom

Licence: agpl-3.0
Official Go implementation of the Bytom protocol

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Bytom

Go Matrix
First version of go-MATRIX, especially for TPS optimization and AI
Stars: ✭ 187 (-83.92%)
Mutual labels:  ai, blockchain
Blockerized Dockchain
Because all problems are solvable with containers and blockchains
Stars: ✭ 77 (-93.38%)
Mutual labels:  ai, blockchain
Go Cyber
Your 🔵 Superintelligence
Stars: ✭ 270 (-76.78%)
Mutual labels:  ai, blockchain
Bittiger
来自硅谷的终身学习大学
Stars: ✭ 1,670 (+43.59%)
Mutual labels:  ai, blockchain
0xdeca10b
Sharing Updatable Models (SUM) on Blockchain
Stars: ✭ 285 (-75.49%)
Mutual labels:  ai, blockchain
Convai Bot 1337
NIPS Conversational Intelligence Challenge 2017 Winner System: Skill-based Conversational Agent with Supervised Dialog Manager
Stars: ✭ 65 (-94.41%)
Mutual labels:  ai
Cita
A high performance blockchain kernel for enterprise users.
Stars: ✭ 1,155 (-0.69%)
Mutual labels:  blockchain
Web Sdk
Portis Web SDK
Stars: ✭ 65 (-94.41%)
Mutual labels:  blockchain
Openvoiceos
OpenVoiceOS is a minimalistic linux OS bringing the open source voice assistant Mycroft A.I. to embbeded, low-spec headless and/or small (touch)screen devices.
Stars: ✭ 64 (-94.5%)
Mutual labels:  ai
Chinesechess
Chinese Chess(中国象棋) - A Free iOS App(C & Obj-C & Swift)
Stars: ✭ 68 (-94.15%)
Mutual labels:  ai
Minimal
Modular Ethereum client
Stars: ✭ 69 (-94.07%)
Mutual labels:  blockchain
Covenantsql
A decentralized, trusted, high performance, SQL database with blockchain features
Stars: ✭ 1,148 (-1.29%)
Mutual labels:  blockchain
Jekyll Minibundle
A minimalistic asset bundling plugin for Jekyll
Stars: ✭ 65 (-94.41%)
Mutual labels:  assets
Fast Dat Parser
Superfast blockchain parser for stats
Stars: ✭ 68 (-94.15%)
Mutual labels:  blockchain
Asset Share Commons
A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
Stars: ✭ 65 (-94.41%)
Mutual labels:  assets
Blockked
Blockked - blockchain.info companion (and educational) app for Android
Stars: ✭ 69 (-94.07%)
Mutual labels:  blockchain
09 Zombierunner Original
First person shooter with Unity terrain and AI pathfinding (http://gdev.tv/cudgithub)
Stars: ✭ 64 (-94.5%)
Mutual labels:  ai
Koa
The koa is a high-level language that has more expressions than the bitcoin script and is simpler and easy to analyze
Stars: ✭ 67 (-94.24%)
Mutual labels:  blockchain
Near Api Js
JavaScript library to interact with NEAR Protocol via RPC API
Stars: ✭ 69 (-94.07%)
Mutual labels:  blockchain
Create Near App
Create a starter app hooked up to the NEAR blockchain
Stars: ✭ 66 (-94.33%)
Mutual labels:  blockchain

Bytom

Build Status AGPL v3

Official golang implementation of the Bytom protocol.

Automated builds are available for stable releases and the unstable master branch. Binary archives are published at https://github.com/Bytom/bytom/releases.

What is Bytom?

Bytom is software designed to operate and connect to highly scalable blockchain networks confirming to the Bytom Blockchain Protocol, which allows partipicants to define, issue and transfer digitial assets on a multi-asset shared ledger. Please refer to the White Paper for more details.

In the current state bytom is able to:

  • Manage key, account as well as asset
  • Send transactions, i.e., issue, spend and retire asset

Installing with Homebrew

brew tap bytom/bytom && brew install bytom

Building from source

Requirements

  • Go version 1.8 or higher, with $GOPATH set to your preferred directory

Installation

Ensure Go with the supported version is installed properly:

$ go version
$ go env GOROOT GOPATH
  • Get the source code
$ git clone https://github.com/Bytom/bytom.git $GOPATH/src/github.com/bytom/bytom
  • Build source code
$ cd $GOPATH/src/github.com/bytom/bytom
$ make bytomd    # build bytomd
$ make bytomcli  # build bytomcli

When successfully building the project, the bytomd and bytomcli binary should be present in cmd/bytomd and cmd/bytomcli directory, respectively.

Executables

The Bytom project comes with several executables found in the cmd directory.

Command Description
bytomd bytomd command can help to initialize and launch bytom domain by custom parameters. bytomd --help for command line options.
bytomcli Our main Bytom CLI client. It is the entry point into the Bytom network (main-, test- or private net), capable of running as a full node archive node (retaining all historical state). It can be used by other processes as a gateway into the Bytom network via JSON RPC endpoints exposed on top of HTTP, WebSocket and/or IPC transports. bytomcli --help and the bytomcli Wiki page for command line options.

Running bytom

Currently, bytom is still in active development and a ton of work needs to be done, but we also provide the following content for these eager to do something with bytom. This section won't cover all the commands of bytomd and bytomcli at length, for more information, please the help of every command, e.g., bytomcli help.

Initialize

First of all, initialize the node:

$ cd ./cmd/bytomd
$ ./bytomd init --chain_id mainnet

There are three options for the flag --chain_id:

  • mainnet: connect to the mainnet.
  • testnet: connect to the testnet wisdom.
  • solonet: standalone mode.

After that, you'll see config.toml generated, then launch the node.

launch

$ ./bytomd node

available flags for bytomd node:

Flags:
      --auth.disable                     Disable rpc access authenticate
      --chain_id string                  Select network type
  -h, --help                             help for node
      --log_file string                  Log output file (default "log")
      --log_level string                 Select log level(debug, info, warn, error or fatal)
      --mining                           Enable mining
      --p2p.dial_timeout int             Set dial timeout (default 3)
      --p2p.handshake_timeout int        Set handshake timeout (default 30)
      --p2p.keep_dial string             Peers addresses try keeping connecting to, separated by ',' (for example "1.1.1.1:46657;2.2.2.2:46658")
      --p2p.laddr string                 Node listen address. (0.0.0.0:0 means any interface, any port) (default "tcp://0.0.0.0:46656")
      --p2p.lan_discoverable             Whether the node can be discovered by nodes in the LAN (default true)
      --p2p.max_num_peers int            Set max num peers (default 50)
      --p2p.node_key string              Node key for p2p communication
      --p2p.proxy_address string         Connect via SOCKS5 proxy (eg. 127.0.0.1:1086)
      --p2p.proxy_password string        Password for proxy server
      --p2p.proxy_username string        Username for proxy server
      --p2p.seeds string                 Comma delimited host:port seed nodes
      --p2p.skip_upnp                    Skip UPNP configuration
      --prof_laddr string                Use http to profile bytomd programs
      --simd.enable                      Enable SIMD mechan for tensority
      --vault_mode                       Run in the offline enviroment
      --wallet.disable                   Disable wallet
      --wallet.rescan                    Rescan wallet
      --wallet.txindex                   Save global tx index
      --web.closed                       Lanch web browser or not
      --ws.max_num_concurrent_reqs int   Max number of concurrent websocket requests that may be processed concurrently (default 20)
      --ws.max_num_websockets int        Max number of websocket connections (default 25)

Global Flags:
      --home string   root directory for config and data
  -r, --root string   DEPRECATED. Use --home (default "/Users/zcc/Library/Application Support/Bytom")
      --trace         print out full stack trace on errors

Given the bytomd node is running, the general workflow is as follows:

  • create key, then you can create account and asset.
  • send transaction, i.e., build, sign and submit transaction.
  • query all kinds of information, let's say, avaliable key, account, key, balances, transactions, etc.

simd feature:

You could enable the simd feature to speed up the PoW verification (e.g., during mining and block verification) by simply:

bytomd node --simd.enable

To enable this feature you will need to compile from the source code by yourself, and make bytomd-simd.

What is more,

  • if you are using Mac, please make sure llvm is installed by brew install llvm.
  • if you are using Windows, please make sure mingw-w64 is installed and set up the PATH environment variable accordingly.

For more details about using bytomcli command please refer to API Reference

Dashboard

Access the dashboard:

$ open http://localhost:9888/

In Docker

Ensure your Docker version is 17.05 or higher.

$ docker build -t bytom .

For the usage please refer to running-in-docker-wiki.

Contributing

Thank you for considering helping out with the source code! Any contributions are highly appreciated, and we are grateful for even the smallest of fixes!

If you run into an issue, feel free to bytom issues in this repository. We are glad to help!

License

AGPL v3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].