typed-protocols
Session types framework with support of protocol pipelining. (by input-output-hk)
aptos-core
Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience. (by aptos-labs)
typed-protocols | aptos-core | |
---|---|---|
2 | 19 | |
8 | 5,845 | |
- | 2.0% | |
7.7 | 10.0 | |
3 months ago | 6 days ago | |
Haskell | Rust | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typed-protocols
Posts with mentions or reviews of typed-protocols.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-05.
-
On Implementation of Distributed Protocols
Certain correctness properties of code can be ensured statically, i.e. at compile time. Those checks rely on the programming language's type system. Software engineers can take advantage of type safety features to implement components in a way that makes them safe by construction. For example, Cardano uses the typed-protocols package, a generic framework for implementing application-level protocols, which is based on a simple form of session typing.6 Within this framework, protocols are described as state machines encoded into Haskell types. The allowed transitions between states correspond to messages exchanged between the peers, so the protocol state determines which messages are allowed to be sent or must be accepted when received, at type level. This simplifies protocol implementation, allows early detection of protocol violations, and makes the protocols themselves deadlock-free by construction. More advanced type-level programming techniques may allow achieving impressive levels of type safety; however, such code may be significantly harder to implement, understand, and maintain.
-
RPC lib?
I like to use typed-protocols for this: https://github.com/input-output-hk/typed-protocols/
aptos-core
Posts with mentions or reviews of aptos-core.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-05.
-
On Implementation of Distributed Protocols
AptosBFT — a consensus component supporting state machine replication in the Aptos blockchain (written in Rust);
- Критерии жизнеспособности ноды
-
Aptos Rust SDK
aptos-sdk = { git = "https://github.com/aptos-labs/aptos-core", branch = "devnet" }
- Транзакции с использованием Typescript SDK
- Aptos Python SDK
- Обзор Aptos SDK
- Aptos Typescript SDK
- Руководство для интеграции систем
-
Руководство по созданию расширения кошелька
// import transaction build from aptos sdk: https://github.com/aptos-labs/aptos-core/tree/main/ecosystem/typescript/sdk import { BCS, TxnBuilderTypes } from 'aptos'; // Establish connection to the wallet const result = await (window as any).aptos.connect() // Check connection status of wallet const status = await (window as any).aptos.isConnected() // Gets the address of the account signed into the wallet const accountAddress = await (window as any).aptos.account() // Create a transaction const transaction = { arguments: [address, '717'], function: '0x1::coin::transfer', type: 'entry_function_payload', type_arguments: ['0x1::aptos_coin::AptosCoin'], }; // Send transaction to the extension to be signed and submitted to chain const response = await (window as any).aptos.signAndSubmitTransaction(transaction) // Send transaction to the extension to be signed and returns const signedTransaction = await (window as any).aptos.signTransaction(transaction) // Disconnect dApp from the wallet await (window as any).aptos.disconnect(transaction)
- Руководство по взаимодействию с блокчейном Aptos
What are some alternatives?
When comparing typed-protocols and aptos-core you can also consider the following projects:
nng-haskell - Haskell bindings for NNG (https://github.com/nanomsg/nng)
move
cardano-node - The core component that is used to participate in a Cardano decentralised blockchain. [Moved to: https://github.com/IntersectMBO/cardano-node]
aptos-ait2 - AIT2 genesis blob and waypoint
bcs - Rust implementation of the Binary Canonical Serialization (BCS) format
SpacetimeDB - Multiplayer at the speed of light
ed25519 - Minimal ed25519 Haskell package, binding to the ref10 SUPERCOP implementation.
clockchain - A tool for benchmarking smart contract execution times across blockchains.
amber - All things AMBER
lsmtree - Sparse Merkle tree for a key-value map.
tendermint - ⟁ Tendermint Core (BFT Consensus) in Go