diff --git a/1.5.X/concepts/accounts-and-keys/index.html b/1.5.X/concepts/accounts-and-keys/index.html index 9e6686cb..f12bf31c 100644 --- a/1.5.X/concepts/accounts-and-keys/index.html +++ b/1.5.X/concepts/accounts-and-keys/index.html @@ -10,12 +10,12 @@ - +
Skip to main content
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

+ submit an issue on Github
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

Accounts and Cryptographic Keys

The Casper blockchain uses an on-chain account-based model, uniquely identified by an AccountHash derived from a specific PublicKey. The AccountHash is a 32-byte hash derived from any of the supported PublicKey variants below to standardize keys that can vary in length.

By default, a transactional interaction with the blockchain takes the form of a Deploy cryptographically signed by the key-pair corresponding to the PublicKey used to create the account.

diff --git a/1.5.X/concepts/callstack/index.html b/1.5.X/concepts/callstack/index.html index 4bfab1e2..3adc746b 100644 --- a/1.5.X/concepts/callstack/index.html +++ b/1.5.X/concepts/callstack/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Understanding Call Stacks

+ submit an issue on Github
Version: 1.5.X

Understanding Call Stacks

Users wishing to interact with a Casper network must do so through sending a Deploy. All Deploys consist of session code run in the context of the user account that sent the Deploy. The session code may install contract code to global state, or interact with previously installed contract code.

When the session code within a Deploy interacts with one or more contracts, this is the beginning of a Call Stack. A call stack is the chronological order in which contracts call other contracts, initiated by an instance of session code.

The Caller

diff --git a/1.5.X/concepts/design/casper-design/index.html b/1.5.X/concepts/design/casper-design/index.html index bd63f4ab..a93daafd 100644 --- a/1.5.X/concepts/design/casper-design/index.html +++ b/1.5.X/concepts/design/casper-design/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

+ submit an issue on Github
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

Casper Network Design

Introduction

Casper is a Proof-of-Stake blockchain platform with an account-based model that performs execution after consensus. A Casper network stores data in a structure known as Global State. Users interact with global state through session code sent in a Deploy. Deploys contain Wasm to be executed by the network, thus allowing developers to use their preferred programming language rather than a proprietary language.

diff --git a/1.5.X/concepts/design/highway/index.html b/1.5.X/concepts/design/highway/index.html index c4d422c5..fdff891c 100644 --- a/1.5.X/concepts/design/highway/index.html +++ b/1.5.X/concepts/design/highway/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

The Highway Consensus Protocol

+ submit an issue on Github
Version: 1.5.X

The Highway Consensus Protocol

What is Consensus?

Consensus is the backbone of any distributed network. The decentralized nature of a blockchain requires a method through which disparate entities can agree on one immutable truth. This involves determining the validity of transactions, resolving conflicts, and finalizing blocks to be added to the chain by the network. A consensus protocol is a set of mechanisms and rules within the distributed network with which all actors must comply.

These rules outline the type of messages sent over the network, when they are sent and how to process them. Within the context of a blockchain, the consensus protocol decides which blocks are added to the chain by the network and the order in which they are added. This determines the state of the distributed ledger and ensures that all nodes agree on that state.

diff --git a/1.5.X/concepts/design/networking-protocol/index.html b/1.5.X/concepts/design/networking-protocol/index.html index 6952cd69..d4fb8c2e 100644 --- a/1.5.X/concepts/design/networking-protocol/index.html +++ b/1.5.X/concepts/design/networking-protocol/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Casper Node Networking Protocol

+ submit an issue on Github
Version: 1.5.X

Casper Node Networking Protocol

Casper Node Networking Protocol (Mainnet Protocol Version 1.5.0)

This is a description of the casper-node's networking protocol. This document follows the conventions laid out in RFC2119.

Connection Level

diff --git a/1.5.X/concepts/design/p2p/index.html b/1.5.X/concepts/design/p2p/index.html index 49a35db8..5a6f24fc 100644 --- a/1.5.X/concepts/design/p2p/index.html +++ b/1.5.X/concepts/design/p2p/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Network Communication

+ submit an issue on Github
Version: 1.5.X

Network Communication

Identity

Each node has an identity on the network (which is not the same as its identity in the consensus process). The network identity (ID) is based on the fingerprint of the public key of a TLS certificate. A node generates a new private key each time it starts, ensuring a unique ID.

Each identity is linked with an address, which is an IP and port pair where the node is reachable. This address is also called an endpoint.

diff --git a/1.5.X/concepts/design/reading-and-writing-to-the-blockchain/index.html b/1.5.X/concepts/design/reading-and-writing-to-the-blockchain/index.html index ccb53458..38f8afd5 100644 --- a/1.5.X/concepts/design/reading-and-writing-to-the-blockchain/index.html +++ b/1.5.X/concepts/design/reading-and-writing-to-the-blockchain/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Reading and Writing Data to Global State

+ submit an issue on Github
Version: 1.5.X

Reading and Writing Data to Global State

Casper features several means of reading and writing data to global state, depending on user needs and complexity. Reading data from global state can be done by dApps off-chain or by smart contracts on-chain. Writing data requires on-chain interactions due to the nature of the system. Storage in global state can be accomplished using Dictionaries or NamedKeys.

note

Due to the nature of Casper's serialization standard, NamedKeys should be used sparingly and only for small data sets. Developers should use dictionaries for larger mapped structures.

Using the Casper JSON-RPC

diff --git a/1.5.X/concepts/dictionaries/index.html b/1.5.X/concepts/dictionaries/index.html index 20ee3c2d..b63b2a8a 100644 --- a/1.5.X/concepts/dictionaries/index.html +++ b/1.5.X/concepts/dictionaries/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Understanding Dictionaries

+ submit an issue on Github
Version: 1.5.X

Understanding Dictionaries

In a Casper network, you can now store sets of data under Keys. Previously, URefs were the exclusive means by which users could store data in global state. To maintain persistent access to these URefs, they would have to be stored within an Account or Contract context. In the case of Contracts, sustained and continuous use of URefs would result in the expansion of the associated NamedKeys structures.

Individual value changes to data stored within the NamedKeys would require deserializing the entire NamedKeys data structure, increasing gas costs over time and thus having a negative impact. Additionally, users storing large subsets of mapped data structures would face the same deep copy problem where minor or single updates required the complete deserialization of the map structure, also leading to increased gas costs.

As a solution to this problem, the Casper platform provides the Dictionary feature, which allows users a more efficient and scalable means to aggregate data over time.

diff --git a/1.5.X/concepts/economics/concepts/index.html b/1.5.X/concepts/economics/concepts/index.html index de1df2ab..334cf3f4 100644 --- a/1.5.X/concepts/economics/concepts/index.html +++ b/1.5.X/concepts/economics/concepts/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Staking Concepts

The Casper network is a Proof-of-Stake blockchain that allows validators to stake the Casper native token CSPR on the network. Validators receive CSPR as an incentive for continuing to maintain and secure the network. CSPR rewards are distributed as blocks are validated into existence and organized into eras.

Consensus mechanism: Casper operates using a Proof-of-Stake consensus mechanism per the Highway Protocol, a specification of Correct-by-Construction Casper (CBC Casper).

Number of validators: The Casper Mainnet supports up to 100 validators on the network. This number is chosen to strike a balance between performance and decentralization. This platform parameter can be increased through upgrades as development continues and performance improves. In addition, validators can stake on the Casper Mainnet through a process of permission-less bonding by participating in an auction for the validator slot.

diff --git a/1.5.X/concepts/economics/consensus/index.html b/1.5.X/concepts/economics/consensus/index.html index c8e16792..d8dea804 100644 --- a/1.5.X/concepts/economics/consensus/index.html +++ b/1.5.X/concepts/economics/consensus/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Consensus Economics

+ submit an issue on Github
Version: 1.5.X

Consensus Economics

Highway consensus is a continuous, trust-less process where a fixed set of validators engage in scheduled communication to advance the linear chain of finalized blocks, representing the history of changes to the global state of the blockchain. The fixed set of validators may change at each era boundary. The economics of this layer revolve around validator selection and incentivization of participation according to the schedule.

Entry

After genesis, the system selects a set of validators using a stake auction process. The auction takes place in the last block of an era, also called a switch block. An auction contract governs the validator selection process, and a chainspec configuration file specifies a few key parameters:

diff --git a/1.5.X/concepts/economics/delegation/index.html b/1.5.X/concepts/economics/delegation/index.html index 9a335ec9..cbb05ee6 100644 --- a/1.5.X/concepts/economics/delegation/index.html +++ b/1.5.X/concepts/economics/delegation/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Delegation Details

This section provides a detailed explanation of the delegation cost mechanism, how the gas cost relates with delegations, where to find the details etc. Please note that the cost amounts are likely to change with time and you may have to check the latest release details to get the most up-to-date and accurate details.

Delegation Cost

The delegation cost is defined in the chainspec.toml file for each Casper network. In this example chainspec, the delegation is set to cost 2.5 CSPR. However, when you perform the delegation, you see that it costs a little more than what is specified in the chainspec. Let’s discuss why this happens.

diff --git a/1.5.X/concepts/economics/gas-concepts/index.html b/1.5.X/concepts/economics/gas-concepts/index.html index 32543387..0eab970d 100644 --- a/1.5.X/concepts/economics/gas-concepts/index.html +++ b/1.5.X/concepts/economics/gas-concepts/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Gas and Resources

+ submit an issue on Github
Version: 1.5.X

Gas and Resources

What is gas?

Gas is a conceptual measure of resources utilized when executing transactions on the blockchain. Gas cost is the amount of gas consumed during the processing cycles that execute a transaction on the network. It is directly correlated with the amount of computer processing a validator needs to provide in order to execute a transaction.

Gas fees are consumed on the network irrespective of whether your transaction was successful or not. Even when a transaction fails, you have to pay the transaction fee because your deploy consumed resources and space on the block as the validator attempted to execute it on your behalf.

diff --git a/1.5.X/concepts/global-state/index.html b/1.5.X/concepts/global-state/index.html index 652d4010..7142b079 100644 --- a/1.5.X/concepts/global-state/index.html +++ b/1.5.X/concepts/global-state/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Global State

+ submit an issue on Github
Version: 1.5.X

Global State

Introduction

The storage layer for the Casper blockchain is called global state and has the semantics of a key-value store with additional permissions logic. All accounts, contracts, and any associated data they have are stored in global state. Not all users can access all data, so permissions need to be set accordingly.

note

Refer to Keys and Permissions for further information on keys.

diff --git a/1.5.X/concepts/glossary/A/index.html b/1.5.X/concepts/glossary/A/index.html index 6678d184..0d482576 100644 --- a/1.5.X/concepts/glossary/A/index.html +++ b/1.5.X/concepts/glossary/A/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

A


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/B/index.html b/1.5.X/concepts/glossary/B/index.html index 9db89c8f..2d45cc0b 100644 --- a/1.5.X/concepts/glossary/B/index.html +++ b/1.5.X/concepts/glossary/B/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

B


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/C/index.html b/1.5.X/concepts/glossary/C/index.html index 990a5a49..dd1ab8e1 100644 --- a/1.5.X/concepts/glossary/C/index.html +++ b/1.5.X/concepts/glossary/C/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

C


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/D/index.html b/1.5.X/concepts/glossary/D/index.html index 54a3d839..f4ae2b39 100644 --- a/1.5.X/concepts/glossary/D/index.html +++ b/1.5.X/concepts/glossary/D/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

D


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/E/index.html b/1.5.X/concepts/glossary/E/index.html index a80010d6..45d5e7eb 100644 --- a/1.5.X/concepts/glossary/E/index.html +++ b/1.5.X/concepts/glossary/E/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

E


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/F/index.html b/1.5.X/concepts/glossary/F/index.html index 7719757b..b17bcfb8 100644 --- a/1.5.X/concepts/glossary/F/index.html +++ b/1.5.X/concepts/glossary/F/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

F


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/G/index.html b/1.5.X/concepts/glossary/G/index.html index 9d4fa6a6..e2af66d9 100644 --- a/1.5.X/concepts/glossary/G/index.html +++ b/1.5.X/concepts/glossary/G/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

G


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/H/index.html b/1.5.X/concepts/glossary/H/index.html index a0369796..027caf4a 100644 --- a/1.5.X/concepts/glossary/H/index.html +++ b/1.5.X/concepts/glossary/H/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

H


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/I/index.html b/1.5.X/concepts/glossary/I/index.html index ad05f499..79ace99a 100644 --- a/1.5.X/concepts/glossary/I/index.html +++ b/1.5.X/concepts/glossary/I/index.html @@ -10,12 +10,12 @@ - +
diff --git a/1.5.X/concepts/glossary/J/index.html b/1.5.X/concepts/glossary/J/index.html index 817f08ce..e1c0ce2d 100644 --- a/1.5.X/concepts/glossary/J/index.html +++ b/1.5.X/concepts/glossary/J/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

J


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/K/index.html b/1.5.X/concepts/glossary/K/index.html index 18efe5a2..256054e7 100644 --- a/1.5.X/concepts/glossary/K/index.html +++ b/1.5.X/concepts/glossary/K/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

K


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/L/index.html b/1.5.X/concepts/glossary/L/index.html index 9d9e0a2e..21eafcbf 100644 --- a/1.5.X/concepts/glossary/L/index.html +++ b/1.5.X/concepts/glossary/L/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

L


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/M/index.html b/1.5.X/concepts/glossary/M/index.html index 538e21fa..3ad73867 100644 --- a/1.5.X/concepts/glossary/M/index.html +++ b/1.5.X/concepts/glossary/M/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

M


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/N/index.html b/1.5.X/concepts/glossary/N/index.html index 78c018b0..1208d5f7 100644 --- a/1.5.X/concepts/glossary/N/index.html +++ b/1.5.X/concepts/glossary/N/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

N


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/O/index.html b/1.5.X/concepts/glossary/O/index.html index ec629774..1cd1a795 100644 --- a/1.5.X/concepts/glossary/O/index.html +++ b/1.5.X/concepts/glossary/O/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

O


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/P/index.html b/1.5.X/concepts/glossary/P/index.html index 1a9fc810..60768a4e 100644 --- a/1.5.X/concepts/glossary/P/index.html +++ b/1.5.X/concepts/glossary/P/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

P


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/Q/index.html b/1.5.X/concepts/glossary/Q/index.html index 631c1842..a6c8c892 100644 --- a/1.5.X/concepts/glossary/Q/index.html +++ b/1.5.X/concepts/glossary/Q/index.html @@ -10,12 +10,12 @@ - +
diff --git a/1.5.X/concepts/glossary/R/index.html b/1.5.X/concepts/glossary/R/index.html index 47490b9d..072020ee 100644 --- a/1.5.X/concepts/glossary/R/index.html +++ b/1.5.X/concepts/glossary/R/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

R


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/S/index.html b/1.5.X/concepts/glossary/S/index.html index b7abf306..bad3c16e 100644 --- a/1.5.X/concepts/glossary/S/index.html +++ b/1.5.X/concepts/glossary/S/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

S


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/T/index.html b/1.5.X/concepts/glossary/T/index.html index 75b3f186..d41bda04 100644 --- a/1.5.X/concepts/glossary/T/index.html +++ b/1.5.X/concepts/glossary/T/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

T


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/U/index.html b/1.5.X/concepts/glossary/U/index.html index 58896c99..731a5eab 100644 --- a/1.5.X/concepts/glossary/U/index.html +++ b/1.5.X/concepts/glossary/U/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

U


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/V/index.html b/1.5.X/concepts/glossary/V/index.html index 3582be76..007098e2 100644 --- a/1.5.X/concepts/glossary/V/index.html +++ b/1.5.X/concepts/glossary/V/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

V


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/W/index.html b/1.5.X/concepts/glossary/W/index.html index 432c8d36..27c3359a 100644 --- a/1.5.X/concepts/glossary/W/index.html +++ b/1.5.X/concepts/glossary/W/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

W


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


diff --git a/1.5.X/concepts/glossary/X/index.html b/1.5.X/concepts/glossary/X/index.html index 66c28f43..0919a35f 100644 --- a/1.5.X/concepts/glossary/X/index.html +++ b/1.5.X/concepts/glossary/X/index.html @@ -10,12 +10,12 @@ - +
diff --git a/1.5.X/concepts/glossary/Y/index.html b/1.5.X/concepts/glossary/Y/index.html index 418093a2..eda330c7 100644 --- a/1.5.X/concepts/glossary/Y/index.html +++ b/1.5.X/concepts/glossary/Y/index.html @@ -10,12 +10,12 @@ - +
diff --git a/1.5.X/concepts/glossary/Z/index.html b/1.5.X/concepts/glossary/Z/index.html index 5b1a3586..1eb7f7a1 100644 --- a/1.5.X/concepts/glossary/Z/index.html +++ b/1.5.X/concepts/glossary/Z/index.html @@ -10,12 +10,12 @@ - +
diff --git a/1.5.X/concepts/hash-types/index.html b/1.5.X/concepts/hash-types/index.html index 250817da..16ee208b 100644 --- a/1.5.X/concepts/hash-types/index.html +++ b/1.5.X/concepts/hash-types/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Understanding Hash Types

+ submit an issue on Github
Version: 1.5.X

Understanding Hash Types

For the sake of user convenience and compatibility, we expect the delivery of hashes and similar data in the form of a prefixed string when using the node. The following is a list of string representations used.

Table of Associated Hash Types

diff --git a/1.5.X/concepts/index.html b/1.5.X/concepts/index.html index 35db3734..8e2acf64 100644 --- a/1.5.X/concepts/index.html +++ b/1.5.X/concepts/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Concepts Overview

+ submit an issue on Github
Version: 1.5.X

Concepts Overview

The Casper blockchain is a Turing-complete smart-contracting platform using a Proof-of-Stake (PoS) consensus algorithm and WebAssembly (Wasm). The Casper Mainnet is permissionless, decentralized, and public. Network administrators can also create private or hybrid Casper networks as described here.

Concepts

This section of the documentation covers the core concepts underpinning the Casper blockchain. Working with Casper requires an understanding of blockchain technology, as well as some Casper-specific features. We recommend starting with the topics below if you are new to Casper.

diff --git a/1.5.X/concepts/intro-to-dapps/index.html b/1.5.X/concepts/intro-to-dapps/index.html index c48f2111..a7cb046b 100644 --- a/1.5.X/concepts/intro-to-dapps/index.html +++ b/1.5.X/concepts/intro-to-dapps/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Introduction to dApps

+ submit an issue on Github
Version: 1.5.X

Introduction to dApps

What is a dApp?

DApp stands for Decentralized Application. Specifically, it refers to an application built on a blockchain network which combines smart contracts and a user interface.

A decentralized network consists of a group of interchangeable machines (nodes) that can perform as a full system or distributed database. Additional machines strengthen the overall system by adding redundancy and computational power.

diff --git a/1.5.X/concepts/list-auth-keys/index.html b/1.5.X/concepts/list-auth-keys/index.html index 2e3b104c..27b79adc 100644 --- a/1.5.X/concepts/list-auth-keys/index.html +++ b/1.5.X/concepts/list-auth-keys/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

+ submit an issue on Github
Version: 1.5.X

import useBaseUrl from '@docusaurus/useBaseUrl';

Authorization Keys

This topic explains the usage of authorization keys when signing a deploy and how to access them from a smart contract. Try the Working with Authorization Keys tutorial for an example.

Associated Keys vs. Authorization Keys

diff --git a/1.5.X/concepts/serialization-standard/index.html b/1.5.X/concepts/serialization-standard/index.html index a5d9b34a..8a3fee0b 100644 --- a/1.5.X/concepts/serialization-standard/index.html +++ b/1.5.X/concepts/serialization-standard/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Serialization Standard

+ submit an issue on Github
Version: 1.5.X

Serialization Standard

We provide a custom implementation to serialize data structures used by the Casper node to their byte representation. This document details how this custom serialization is implemented, allowing developers to build a library that implements the custom serialization.

In your smart contracts, you can implement serialization using cltype-any.

Account

diff --git a/1.5.X/concepts/smart-contracts/index.html b/1.5.X/concepts/smart-contracts/index.html index e8fff664..36e39809 100644 --- a/1.5.X/concepts/smart-contracts/index.html +++ b/1.5.X/concepts/smart-contracts/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

Smart Contracts

+ submit an issue on Github
Version: 1.5.X

Smart Contracts

Smart Contracts in General

A smart contract is a self-executing program that automates the actions required in a digital agreement. Once completed, the transactions are trackable and irreversible. Smart contracts permit trusted transactions and agreements among disparate, anonymous parties without the need for a central authority, legal system, or external enforcement mechanism.

Casper Smart Contracts

diff --git a/1.5.X/counter-testnet/index.html b/1.5.X/counter-testnet/index.html index fe736908..0efe8fa9 100644 --- a/1.5.X/counter-testnet/index.html +++ b/1.5.X/counter-testnet/index.html @@ -10,12 +10,12 @@ - +
Version: 1.5.X

A Counter on the Testnet

+ submit an issue on Github
Version: 1.5.X

A Counter on the Testnet

This tutorial installs a simple counter contract on the Casper Testnet. The contract is straightforward and simply maintains a counter variable. If you want to learn to send deploys to a local Casper Network, you can follow a similar tutorial and work with NCTL. Once you are familiar with this process, the next step would be to write more practical smart contracts.

Here is how the tutorial is structured: