Git Product home page Git Product logo

adambc's Introduction

Adam Blockchain Computer (Adam BC) [BETA **]:

The Adam Blockchain Computer (Adam BC) is a decentralized blockchain based super computer.

Small AI Research labs, Individual scientists, Institutions and Businesses that cannot afford to hire large super computers can pool together a group of personal computers and use Adam BC's peer to peer computing mode to perform hyper computations.

Consider Adam BC to be the “poor person’s super computer”.


Getting Started:


Adam BC Installation:

Install the following applications on your PC before installing Adam BC.


Download or Clone Adam BC from Github:

Go to https://Github.com/TheAdamBC/AdamBC and download or clone Adam BC's core app.


Install NPM dependencies:

Open the unzipped or cloned Adam BC app folder in your favorite code editor (we use VS Code) and install the app's npm dependency modules.

npm install

Then install python dependencies (Make sure to have pip8 or greater installed).

npm run pyinstall


Install 'Adam' Command Line Interface (CLI):

To use the 'Adam' command in the CLI, you'll need to install it globally. To do this, run the command below.

npm install -g


Creating an Adam BC DApp:

Third-party Developers can build Decentralized Apps (DApps) on Adam BC.

With the 'Adam' keyword installed globally, you can create a Decentralized App (DApp) on Adam BC by typing the command below in the CLI terminal of your app.

Adam create AppName


The above command will by default create an Adam BC 'fs' DApp, a 'filesystem' heavy application.

Currently Adam BC can build 3 types of DApps;

  • 'numerics' DApp (arithmetics-heavy DApp),

  • 'fs' DApp (file-heavy data DApp), and

  • 'multimedia' DApp (image or video rich DApp).


To create a 'numerics' heavy DApp use the 'n' option keyword, to create a 'multimedia' heavy DApp use the 'm' option keyword, to create a 'filesystem' heavy DApp use the 'f' option keyword.

The corresponding commands look like below.

Adam create -n AppName

Adam create -m AppName

Adam create -f AppName


Adam BC has an additional custom command for creating a PDF heavy DApp.

To create a 'PDF' heavy DApp use the 'p' option keyword.

Adam create -p AppName


Adam BC also supports DApp development using the python programming language.

To create an Adam BC DApp in Python, use the corresponding commands below.

Adam create -n --py AppName

Adam create -m --py AppName

Adam create -f --py AppName

Adam create -p --py AppName


Running your Project:

You can start and run your newly created Adam BC DApp by using the CLI command below.

Adam start AppName


If the run was successful, you should see the message "Adam BC DApp started successfully on Port 6553" in your console.

Open your browser and visit 'http://localhost:6553'.

Click 'Start' to start computation.


Adam BC has started:

Adam BC Initial Reset State


Adam BC in Running State:

Adam BC Running State


Adam BC Computation Report:

Adam BC Computation Report


Deleting an Adam BC DApp:

To delete a DApp from Adam BC, run the command below in the Command terminal.

Adam delete AppName

adambc's People

Contributors

vakinduphilliam avatar

Stargazers

 avatar  avatar  avatar

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.