deroproject / dips Goto Github PK
View Code? Open in Web Editor NEWDero Improvements Proposals.
Dero Improvements Proposals.
Suggestions are invited for inbuilt functions for DERO Virtual Machine DVM which will enhance DVM and take it closer to some real use cases.
DERO Virtual Machine represents entire DERO Smart Contracts eco-system which runs on the DERO block chain.
DVM is a decentralized platform that runs both public and private smart contracts: applications that run exactly as programmed without any possibility of downtime, censorship, fraud or third-party interference.Public Smart contracts are open versions. However, the DVM is being designed to support Private Smart Contracts where everything is hidden, eg parties, and information involved. Smart Contracts are nothing but rules which apply on transacting parties.
Current version of DVM is an interpretor based system to avoid security vulneribilities, issues and compiler backdoors. This also allows easy audits of Smart Contracts for quality,bug-testing and security assurances. DVM supports a new language DVM-BASIC.
DVM apps run on a from scratch custom built privacy supporting, encrypted blockchain, an enormously powerful shared global infrastructure that can move value around and represent the ownership of assets/property without leaking any information.No one knows who owns what and who transferred to whom.
This enables developers to create puzzles, games, voting, markets, store registries of debts or promises, move funds in accordance with instructions given long in the past (like a will or a futures contract) and many other ideas/things that have not been invented yet, all without a middleman or counterparty risk.
DVM-BASIC is a contract-oriented, high-level language for implementing smart contracts. It is influenced by GW-BASIC, Visual Basic and C and is designed to target the DERO Virtual Machine (DVM). It is very easy to program and very readable.
DVM runs Smart Contracts which are a collection of functions written in DVM-BASIC.
These functions can be invoked over the blockchain to do something. SCs can act as libraries for other SCs.
DVM supports number of comments formats such as ', // , /* */ as good documentation is necessary.
' This is a comment
// This comment is supported
/* this is multi-line comment */
Function Factorial(s Uint64) Uint64 // this is a commment
10 DIM result,scopy as Uint64 /* this is also comment */
15 LET scopy = s
20 LET result = 1
30 LET result = result * s
40 LET s = s - 1
50 IF s >= 2 THEN GOTO 30
60 PRINTF "FACTORIAL of %d = %d" scopy result
70 RETURN result
End Function
DVM are written in a DVM-BASIC custom BASIC style language with line numbers.
DVM supports uint64 and string data-types.
DVM interprets the smart-contract and processes the SC line-line
uint64 supports almost all operators namely +,-,*,/,%
uint64 support following bitwise operators & ,|, ^, ! , >> , <<
uint64 supports following logical operators >, >= , <, <=, == , !=
string supports only + operator. string support concatenation with a uint64.
string supports ==, != logical operators.
All DVM variables are mandatory to define and are initialized to default values namely 0 and "".
A SC execution must return 0 to persist any changes made during execution. During execution, no panics should occur.
This github issue is created to record suggestions of new features and improvements.
Please use this thread for NextGen Blockchain Features Proposals.
Feel free to include P2P, privacy, mining etc. anything related to requirement/mass-adoption/usage of futuristic blockchain like where common man and IOT devices are utilizing blockchain in day to day life with full privacy and without any hype.
Take this thread as beyond DERO, it is about futuristic blockchain.
DERO-HE is having following features right now.
Requirement of 1 account = 66 bytes
Assuming storage overhead per account of 128 bytes ( constant )
Total requirements = (66 + 128)GB ~ 200GB
Assuming we are off by factor of 4 = 800GB
Suggestions are invited for following:
POW Mining ALGO for CPU & GPU support with ASIC/FPGA resistance.
Please share your suggestions, expertise, papers etc. to develop above algorithm.
Update 1 Source code released
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.