scriptnetwork / scriptv

Node software. L1+L2
GNU General Public License v3.0
1 stars 0 forks source link

Script Network Logo

scriptv

Node software. L1+L2
P2P Network for Watch-to-earn Distributed Content Distribution
Inconsistent Consensus
PBFT cooperative consensus
Distributed File System
Tokenization. FT and NFT
Frontent: Text Console / Android APP 
Client RPC SDK for developing frontends in C++ and Java
Backend daemons:
    Gov (Public System/consensus - Public Evidences): C++
    Wallet (Private System - Privacy, Anonymity): C++
Lightweight

LOC stats 22 Feb 2024

Lines of Code (LOC): Totals grouped by language (dominant language first):
cpp:          78830 (48.91%)
java:         56189 (34.86%)
sh:           12671 (7.86%)
Total Physical Source Lines of Code (SLOC)                = 161,189

INSTRUCTIONS

CORE0. BUILD. STEPS

cd core0/us bin/configure

[follow on-screen further instructions for backend gov and wallet, client console programs, java sdk and android app ]

CORE1. BUILD. STEPS

r2r (wallet plugins) cd core1/us/trader bin/configure make -j8

SINGLE DEV

1.- Download and uncompress the job file using zstd wget ${devjob_puburl}/${gitdir}.zst tar -I zstd -xf ${gitdir}.zst Produced directory: ${gitdir}

2.- Clone a working copy git clone $gitdir

3.- Perform your work in ${workdir}, commit and push changes

4.- Compress the repository dir tar -I zstd -cz ${gitdir}.zst ${gitdir}

5.- Send over

DEV TEAM LEAD

Setup

In your host machine M do: adduser dev su dev ssh-keygen

request devs to send you their ssh public keys (.ssh/id_rsa.pub)

append devs rsa public keys in /home/dev/.ssh/authorized_keys

1.- Download and uncompress the job file using zstd wget ${devjob_puburl}/${gitdir}.zst tar -I zstd -xf ${gitdir}.zst Produced directory: ${gitdir} mv ${gitdir} /home/dev chown dev.dev. /home/dev/${gitdir} -R

2.- Publish your clone command: git clone dev@M:~${gitdir}

3.- Merge feature branch ftb git checkout master git pull origin ftb git merge ftb

DEV

1.- Submit your ssh public key to team lead. content of file ${HOME}/.ssh/id_rsa.pub

2.- git clone dev@M:~${gitdir}

3.- cd ${workdir}

check current branch, should be master

 git branch

4.- create a feature branch mybranch of master git checkout -b mybranch

5.- commit your work

6.- Pull-merge upstream changes git pull origin master git merge master

FILES - GENERAL DESCRIPTION

Core0 [core0/] Public System BACKEND

Core1 [core1/] -brands - UX, Look&Feel