GenaroCore
所属分类:区块链开发
开发工具:GO
文件大小:14496KB
下载次数:0
上传日期:2022-12-07 17:13:36
上 传 者:
sh-1993
说明: GenaroCore,去中心化存储网络
(GenaroCore,Decentralized Storage Network)
文件列表:
AUTHORS (6901, 2019-12-05)
COPYING (32397, 2019-12-05)
COPYING.LESSER (7651, 2019-12-05)
Dockerfile (445, 2019-12-05)
Makefile (5961, 2019-12-05)
VERSION (6, 2019-12-05)
accounts (0, 2019-12-05)
accounts\abi (0, 2019-12-05)
accounts\abi\abi.go (4201, 2019-12-05)
accounts\abi\abi_test.go (27003, 2019-12-05)
accounts\abi\argument.go (8801, 2019-12-05)
accounts\abi\bind (0, 2019-12-05)
accounts\abi\bind\auth.go (2138, 2019-12-05)
accounts\abi\bind\backend.go (5452, 2019-12-05)
accounts\abi\bind\backends (0, 2019-12-05)
accounts\abi\bind\backends\simulated.go (16274, 2019-12-05)
accounts\abi\bind\base.go (12506, 2019-12-05)
accounts\abi\bind\bind.go (14737, 2019-12-05)
accounts\abi\bind\bind_test.go (73456, 2019-12-05)
accounts\abi\bind\template.go (25481, 2019-12-05)
accounts\abi\bind\topics.go (6049, 2019-12-05)
accounts\abi\bind\util.go (2559, 2019-12-05)
accounts\abi\bind\util_test.go (2934, 2019-12-05)
accounts\abi\doc.go (1227, 2019-12-05)
accounts\abi\error.go (2677, 2019-12-05)
accounts\abi\event.go (1999, 2019-12-05)
accounts\abi\event_test.go (9083, 2019-12-05)
accounts\abi\method.go (2668, 2019-12-05)
accounts\abi\numbers.go (2056, 2019-12-05)
accounts\abi\numbers_test.go (1239, 2019-12-05)
... ...
## Go Genaro
Fork from [go-ethereum](https://github.com/ethereum/go-ethereum/tree/v1.8.3).
## Building the source
Building go-genaro requires both a Go (version 1.10 or later) and a C compiler.
You can install them using your favourite package manager.
Once the dependencies are installed, run
make go-genaro
or, to build the full suite of utilities:
make all
## Executables
The go-genaro project comes with several wrappers/executables found in the `cmd` directory.
| Command | Description |
|:----------:|-------------|
| **`go-genaro`** | Our main Genaro CLI client. It is the entry point into the Genaro network. |
| `GenGenaroGenesis` | Generate a genesis json. |
| `SendSynState` | Send synchronization transaction. |
| `others` | To see go-ethereum. |
## Running a go-genaro privete blockchain
### Generate genesis json
GenGenaroGenesis -f account.json
### Init blockchain
go-genaro --datadir datadir init genesis.json
### Start miner
go-genaro --identity "test" --mine --etherbase "myaccount" --unlock "myaccount" --rpc --rpcaddr "127.0.0.1" --rpcport 8545 --rpccorsdomain "*" --datadir datadir --port "30303" --rpcapi "db,eth,net,web3,personal,admin,miner" console
...> input your password
### Send synchronization transaction
SendSynState -u "http://127.0.0.1:8545" -t 1 -a "myaccount"
## Develop Dapp
Genaro blockchain support for Ethernet contract.You can directly transplant your Ethernet contract to Genaro network without any changes.
If you need to use the new features of Genaro network, you need to compile the contract with the new [Solc](https://github.com/GenaroNetwork/genaro-solidity).
You can get more development information from the [yellow book](https://github.com/GenaroNetwork/genaro-document).
## Useful links
Our [official network](https://genaro.network/).
## Join our network
### Main Network
To see [mainnet](./mainnet).
### Test Network
To see [testnet](./testnet).
## License
The go-genaro library (i.e. all code outside of the `cmd` directory) is licensed under the
[GNU Lesser General Public License v3.0](https://www.gnu.org/licenses/lgpl-3.0.en.html), also
included in our repository in the `COPYING.LESSER` file.
The go-genaro binaries (i.e. all code inside of the `cmd` directory) is licensed under the
[GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html), also included
in our repository in the `COPYING` file.
近期下载者:
相关文件:
收藏者: