ontio / documentation Goto Github PK
View Code? Open in Web Editor NEWOntology Documents https://ont.io
Ontology Documents https://ont.io
It would be of benefit to have a clean separation of "product" and "developer" documentation.
The suggestion is to create a repository for the content in
https://github.com/ontio/documentation/tree/master/dev-website-docs
The repository description/URL: "Ontology Developer Documentation" - https://dev-docs.ont.io
The repository name: dev-docs (analogue to the published url)
(... there are further problems, please let me know if you want further info)
Native contract address 0000000000000000000000000000000000000004 haven't been registered
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
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"
Please consider using GitLocalize - it's free and could be a good fit for building a community translation process.
能不能理解为 恶意的块 还是有概率被打包到主链上? 如果是这样的话 这种思路还是有改进的空间的
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."
Any one have idea to broadcast transaction using api..I am trying to work in trading for ontology ..I am using node js .
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"}
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 ....
用GopherJS来实现JS移植如何?
There is a very high amount of documentation, which is of course fine
Website and Documentation should relay different visitors nearly immediately to become productive.
Those should fined immediately, without much talk the documentation which they need.
If you will open https://dev-docs.ont.io/#/docs-en/explorer/blocks?id=query-block-by-height-or-hash
https://explorer.ont.io/api/v1/explorer/block/
isurl:/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")
All the responses which returned by an API is just giving txnHash or height and other block details.
Is there any endpoint possible to call which returns transaction list along with to, from and amount?
You cannot use <style>
tags in Markdown on Github, like here:
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.