Giter Site home page Giter Site logo

opencanarias / taple-docsite Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 4.0 33.39 MB

TAPLE documentation website.

Home Page: https://www.taple.es

License: GNU Affero General Public License v3.0

JavaScript 0.16% CSS 0.06% TypeScript 0.09% HTML 96.72% MDX 2.98%
blockchain sustainability distributed-ledger taple

taple-docsite's Introduction

TAPLE Docsite

TAPLE (pronounced T+馃崕 ['tap蓹l]) stands for Tracking (Autonomous) of Provenance and Lifecycle Events. TAPLE is a permissioned DLT solution for traceability of assets and processes. It is:

  • Scalable: Scaling to a sufficient level for traceability use cases.
  • Light: Designed to support resource constrained devices.
  • Flexible: Have a flexible and adaptable cryptographic scheme mechanism for a multitude of scenarios.
  • Energy-efficient: Rust powered, TAPLE is sustainable and efficient from the point of view of energy consumption.

TAPLE docsite is the official TAPLE documentation website. It is built with Docusaurus.

AGPL licensed

Discover | Learn | Build | Code

Quick start

$ git clone https://github.com/opencanarias/taple-docsite.git
$ cd taple-docsite
$ npm i
$ npm run start

License

This project is licensed under the AGPL license.

taple-docsite's People

Contributors

eduardoeb3 avatar edusu avatar padinsky avatar florentinpg avatar yerayrodriguez avatar

Stargazers

Alejandro Alfonso Fern谩ndez avatar  avatar  avatar Ruben Santiba帽ez Acosta avatar

Watchers

James Cloos avatar

taple-docsite's Issues

Posible errata en portal de documentaci贸n

Hola,

Esto es un comentario solo acerca de la documentaci贸n de la web taple.es y no del funcionamiento ni del c贸digo del cliente.

En la secci贸n "Adding a new node", en el apartado "Adding the third node to governance", en el payload usado en el ejemplo, creo que donde se usa el id EeVLa8oOROE1VxLnKIsNh2J_ESCP6UDOTH8r6b7eSwSo deber铆a usarse el id EQ7-HJs33eYvcm-lON9WXu9GsAws7lKI693xDIegftLw que en el ejemplo se corresponde con la key de la "Company2".

El comando completo indicado es este, y se ve que la key del member con id "Company2" no est谩 en la lista de "validators" ni de "approvers".

curl --location --request POST 'http://localhost:3000/api/requests' \
        --header 'Content-Type: application/json' \
        --data-raw '{
            "request": {
                "State": {
                    "subject_id": "J_ToQAWBYtLOWDNMQGHrfyJ3BCd1I_BAHAak5CKbV1n4",
                    "payload": {
                        "Json": {
                            "members": [
                                {
                                    "id": "Company1",
                                    "tags": {},
                                    "description": "Headquarters in Spain",
                                    "key": "E5jAfbyK8sdmeCgXoDtRYdO2MJDwKd1_EN6aKbMEiJzw"
                                },
                                {
                                    "id": "Company2",
                                    "tags": {},
                                    "description": "Headquarters in England",
                                    "key": "EQ7-HJs33eYvcm-lON9WXu9GsAws7lKI693xDIegftLw"
                                },
                                {
                                    "id": "Company3",
                                    "tags": {},
                                    "description": "Headquarters in France",
                                    "key": "EX2w7ObRxqHCeybeNvMo7bkxm1oReVI8Hkk82M79xLok"
                                }
                            ],
                            "schemas": [
                                {
                                    "id": "Test",
                                    "tags": {},
                                    "content": {
                                        "type": "object",
                                        "additionalProperties": false,
                                        "required": [
                                            "temperature",
                                            "location",
                                            "batch"
                                        ],
                                        "properties": {
                                            "temperature": {"type": "integer"},
                                            "location": {"type": "string" },
                                            "batch": {
                                                "type": "object",
                                                "additionalProperties": false,
                                                "required": [ "weight", "origin" ],
                                                "properties": {
                                                    "weight": {"type": "number", "minimum": 0},
                                                    "origin": {"type": "string"}
                                                }
                                            }
                                        }
                                    }
                                }
                            ],
                            "policies": [
                                {
                                    "id": "Test",
                                    "validation": {
                                        "quorum": 0.5,
                                        "validators": [
                                            "E5jAfbyK8sdmeCgXoDtRYdO2MJDwKd1_EN6aKbMEiJzw",
                                            "EeVLa8oOROE1VxLnKIsNh2J_ESCP6UDOTH8r6b7eSwSo",
                                            "EX2w7ObRxqHCeybeNvMo7bkxm1oReVI8Hkk82M79xLok"
                                        ]
                                    },
                                    "approval": {
                                        "quorum": 0.5,
                                        "approvers": [
                                            "E5jAfbyK8sdmeCgXoDtRYdO2MJDwKd1_EN6aKbMEiJzw",
                                            "EeVLa8oOROE1VxLnKIsNh2J_ESCP6UDOTH8r6b7eSwSo",
                                            "EX2w7ObRxqHCeybeNvMo7bkxm1oReVI8Hkk82M79xLok"
                                        ]
                                    },
                                    "invokation": {
                                        "owner": {
                                            "allowance": true,
                                            "approvalRequired": true
                                        },
                                        "set": {
                                            "allowance": false,
                                            "approvalRequired": false,
                                            "invokers": []
                                        },
                                        "all": {
                                            "allowance": false,
                                            "approvalRequired": false
                                        },
                                        "external": {
                                            "allowance": false,
                                            "approvalRequired": false
                                        }
                                    }
                                },
                                {
                                    "id": "governance",
                                    "validation": {
                                        "quorum": 0.5,
                                        "validators": [
                                            "E5jAfbyK8sdmeCgXoDtRYdO2MJDwKd1_EN6aKbMEiJzw",
                                            "EeVLa8oOROE1VxLnKIsNh2J_ESCP6UDOTH8r6b7eSwSo",
                                            "EX2w7ObRxqHCeybeNvMo7bkxm1oReVI8Hkk82M79xLok"
                                        ]
                                    },
                                    "approval": {
                                        "quorum": 0.5,
                                        "approvers": [
                                            "E5jAfbyK8sdmeCgXoDtRYdO2MJDwKd1_EN6aKbMEiJzw",
                                            "EeVLa8oOROE1VxLnKIsNh2J_ESCP6UDOTH8r6b7eSwSo",
                                            "EX2w7ObRxqHCeybeNvMo7bkxm1oReVI8Hkk82M79xLok"
                                        ]
                                    },
                                    "invokation": {
                                        "owner": {
                                            "allowance": true,
                                            "approvalRequired": true
                                        },
                                        "set": {
                                            "allowance": false,
                                            "approvalRequired": false,
                                            "invokers": []
                                        },
                                        "all": {
                                            "allowance": false,
                                            "approvalRequired": false
                                        },
                                        "external": {
                                            "allowance": false,
                                            "approvalRequired": false
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            }
        }'

Con ese cambio (adaptado a mis identificadores) me ha funcionado todo el tutorial .

Salu2!

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.