Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12,881 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GalaxyNetWork(GNC) based Go Ethereum v1.10.8

Changes made:

  • Consensus algorithm: (As reference) Chia Proof of Space Construction. https://www.chia.net/assets/Chia_Proof_of_Space_Construction_v1.1.pdf
  • Geth v1.10.8 is a pre-announced hotfix release to patch a vulnerability in the EVM (CVE-2021-39137).
  • Build implementation based Geth v1.10.8 version
  • The address balance will be mapped to the mainnet
  • Smart Contracts supported
  • Economic model upgraded

public rpc/api

Notice

  • 1.Replace the old chain address prefix 'GNC' with '0x'
  • 2.Keep the RPC/API same with Ethereum v1.10.8
  • 3.Block Number starts from 0
  • 4.Block confirmations 32

Shown to users:

    var Web3 = require('web3');

    var web3 = new Web3(new Web3.providers.HttpProvider("http://chain-node.galaxynetwork.vip"));

    var newAccount=web3.eth.accounts.create()

    // 0x6bacec0a630a53fdbae5f1f10bf87fe2b422eec1
    console.log(newAccount.address)

User input:

    //user input GNC address
    var addr ='0x6cBe9DF6DF54281D363e7a5e1790dc66212438C7'

    //call rpc ...
    web3.eth.getBalance(addr).then(
        console.log
    )

Transaction Demo

Mining

                                       _____  miner 1 (reserved space)
                                      /
 GalaxyNetWork peers  --------   Geth Node peer  ------  miner 2 (reserved space)
                                      \_____  miner 3 (reserved space)






Automated builds are available for stable releases and the unstable master branch. Binary archives are published at https://github.com/gnc-project/galaxynetwork.

Building the source

Building geth requires both a Go (version 1.14 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run

make geth
./geth --http.api='eth,web3,net,debug' --http.port=8545 --gcmode archive

or, to build the full suite of utilities:

make all

License

The go-ethereum library (i.e. all code outside of the cmd directory) is licensed under the GNU Lesser General Public License v3.0, also included in our repository in the COPYING.LESSER file.

The go-ethereum binaries (i.e. all code inside of the cmd directory) is licensed under the GNU General Public License v3.0, also included in our repository in the COPYING file.

About

galaxynetwork

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages