Git Product home page Git Product logo

documentation's Issues

sample wasm smart contract is buggy

char * concat(char * a, char * b){
int lena = arrayLen(a);
int lenb = arrayLen(b);
char * res = (char *)malloc((lena + lenb)*sizeof(char));
for (int i = 0 ;i < lena ;i++){
res[i] = a[i];
}

for (int j = 0; j < lenb ;j++){
	res[lenb + j] = b[j];
}
return res;

}

with almost ~1B USD in market capital, you can't even get the most basic smart contract sample
correct, LOL ....

Revise "Introduction"

Ontology is a new generation of high-performance public blockchains. The infrastructure is scalable, stable, and allows low-level customization for different business requirements. After the Ontology MainNet release, we have welcomed many new developers to the Ontology technical community and launched our Developer Center .

https://dev-docs.ont.io/#/docs-en/DeveloperGuide/introduction

Expected

An intro which mentions the key characteristics of Ontology

The very detailed graphic which sholws internal subsystems, should be replaced by a "Grand Ontology Subsystems Overview"

[WEBSITE] Revise Website Navigation

Problems

  • 2nd level navigation very misleading
    • => change to classical drop-down
  • far too many "off-site" links, many of them not market as such
    • => place "on-site" content first, "off-site" last in the navigation
    • => reduce off-site navigation entries
      (...)

(... there are further problems, please let me know if you want further info)

Please plugin device to login - Ledger Nano S

I am on latest version of Ledger Nano S firmware 1.4.2 - I have followed the detailed instructions, tried reinstalling the Ontology app on the Ledger, and cannot login with Ledger.

On the Ledger screen that says "Hello ONT", I click to "Login with Ledger" in O Wallet and it says "Please plugin device to login."

Outdated documentation for explorer

If you will open https://dev-docs.ont.io/#/docs-en/explorer/blocks?id=query-block-by-height-or-hash

  • You will see that Result response of https://explorer.ont.io/api/v1/explorer/block/ is
url:/api/v1/explorer/block/{param}
method:GET
successResponse:
{
    "Action":"QueryBlock",
    "Version":"1.0",
    "Error":0,
    "Desc":"SUCCESS",
    "Result":{
        "Hash":"63355f8e808e4572bab07c0748bd4182a562ee73401fc16c8108e4e56b264d2a",
        "Height":112,
        "TxnsRoot":"472af7d21a8315636021940933ec8d07a7a32fe21ba91075b4c0e0b1b4576531",
        "BookKeeper":"AL4CDqBikrj92pC3B747ZchYZAQf2fg1AC&AL4CDqBikrj92pC3B747ZchYZAQf2fg1AC",
        "NextBlock":"59192b3a12497793568f2394da91725cf382556b7a72e92f58e0a6f6cab6a70d",
        "ConsensusData":"12156079575032856115",
        "PrevBlock":"3865b98b84b3af895c946b23938a5dde127ad12d4268d92fbd63e642e91b00c8",
        "BlockSize":532,
        "BlockTime":1522205080,
        "TxnNum":12
        "TxnList":[
            {
                "TxnHash":"627f03aad7562ebf93b5bc2d2cd2f9ff8c446e447322f62d7e834f6f2f6f15e2",
                "TxnType":209,
                "Height": 112,
                "TxnTime":1522205080
            },
            {
                "TxnHash":"",
                "TxnType":209,
                "Height": 112,
                "TxnTime":1522205080
            }        
        ]    
    }
}

However, the real response will be
try ( https://explorer.ont.io/api/v1/explorer/block/7677564)

  {
    "Action": "QueryBlock",
    "Error": 0,
    "Desc": "SUCCESS",
    "Version": "1.0",
    "Result": {
        "PrevBlock": "f3239f7e97570b04c5dff584a4fdd1cc76d8f03ea229268bb853203f589c1f04",
        "TxnsRoot": "736fab4fa13435f201bc90a43ca5cd8c324ec88d6048fedb136f267371daee39",
        "BlockTime": 1580115134,
        "NextBlock": "599b680fc3794606d7e27021ec6cbe8ada16e70423d28f7ee1dbe7e307fdd14c",
        "BookKeeper": "AWio34nsRGxaMtsuAwaKftuh2qMD1NqXaV&AL6crv7yeS41gtQXQU976rTygVdtBiFP44&ALzCTun5dcZeA8numx3PMCi7X7XJkuUGV2&AL4CDqBikrj92pC3B747ZchYZAQf2fg1AC&AXq1j9X5ndnwqXwSdKUPmXtqYcNqqziD35&ALNdxK654mTcMzex9nsfnBXLEfiryhpNUB&ALeYCHTLVnM4G5iiHc1MGdvMQf8Wd5Tvu2",
        "TxnNum": 1,
        "Height": 7677564,
        "TxnList": [
            {
                "TxnTime": 1580115134,
                "ConfirmFlag": 1,
                "TxnHash": "736fab4fa13435f201bc90a43ca5cd8c324ec88d6048fedb136f267371daee39",
                "Height": 7677564
            }
        ],
        "Hash": "168d35ae9333f1d53ee0c124b44d268701df001df1313b388d001a5808f66d01",
        "ConsensusData": "14109201366917002152",
        "BlockSize": 1316
    }
}

Diff ( "ConfirmFlag" vs "TxnType")

Native contract address 0000000000000000000000000000000000000009 haven't been registered

I got an error "[NeoVmService] service system call error!: [SystemCall] service execution error!: Native contract address 0000000000000000000000000000000000000009 haven't been registered." from the TestNet when I lock some oep-4 tokens. How can I do with that?
SmartX log response:
Invoke: {"Action":"sendrawtransaction","Desc":"INTERNAL ERROR, ErrUnknown","Error":-1,"Id":700818583,"Result":"[NeoVmService] service system call error!: [SystemCall] service execution error!: Native contract address 0000000000000000000000000000000000000009 haven't been registered.","Version":"1.0.0"}

Why 404

image

Why jump on page 404 and then jump to document

Revise Documentation Structure

Status

There is a very high amount of documentation, which is of course fine

Expected

Website and Documentation should relay different visitors nearly immediately to become productive.

Visitors

  • Simple Users which want some basic info and get some crypto
  • Evaluators which want to assess the technical quality hands-on
  • DApp-Devs, which want to produce very quickly a Dapp to assess ontology
  • etc. etc.

Those should fined immediately, without much talk the documentation which they need.

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.