Giter Site home page Giter Site logo

gsc-core's Introduction



GSC Core

Welcome to GSC

About

GSC (Global Social Chain) is the new generation of social networking chain. This social chain is determined to use block chain technology to subvert centralized social networks such as Facebook, WeChat, etc., which plays a dual role as "manager" and "arbiter" simultaneously for the former social networking platforms.

Prepare dependencies

  • JDK 1.8 (JDK 1.9+ are not supported yet)
  • With Linux , ensure that the machine has Oracle JDK 8 .

How to build

  • Build in IntelliJ IDEA (community version is enough):

    1. Start IntelliJ. Select File -> Open, then locate to the gsc-core folder which you have git cloned to your local drive. Then click Open button on the right bottom.Branch of master is recommended.
    2. Check on Use auto-import on the Import Project from Gradle dialog. Select JDK 1.8 in the Gradle JVM option. Then click OK.
    3. IntelliJ will open the project and start gradle syncing, which will take several minutes, depending on your network connection and your IntelliJ configuration
    4. After the syncing finished, select Gradle -> Tasks -> build, and then double click build option.

How to run

  • You should modify the config.conf

    1. Replace existing entry in genesis.block.witnesses with your address.
    2. Replace existing entry in seed.node ip.list with your ip list.
  • In IntelliJ IDEA

    1. After the building finishes, locate FullNode in the project structure view panel, which is on the path gsc-core/src/main/java/org/gsc/program/Start.
    2. Select Start, right click on it, and select Run 'Start.main()', then Start starts running.
  • In the Terminal Un the config.conf localwitness add your private key.

./gradlew run -Pwitness

Read the Wiki for detail

Links

How to Contribute, Report bugs, issues using GitHub issues.

If you have a reasonable understanding of blockchain technology and at least some notions of Java you can of course contribute by using GitHub issues and Pull Requests. We also appreciate other types of contributions such as documentation improvements or even correcting typos in the code if you spot any.

The standard procedure is well documented on GitHub, for detailed explanation, especially if it’s the first time you’re doing this, you can follow the procedure on the following links: Working with forks and Pull Requests. Basically, you fork the GSC repository, create a branch that clearly indicates the problem you’re solving. Later, when you are happy with your work, you create a Pull Request so we can review and discuss your implementation.

If the problem needs debating or you have questions on how to implement a feature, we would prefer you open a GitHub issue. If you spotted a typo or a code formatting issue, just directly opening a Pull Request is fine.

License GSC-Core is under the GNU General Public License v3. See LICENSE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.