aczen-web3
v1.0.1
Published
Web3 Blockchain Types and Extensions
Downloads
1
Readme
Web3 Blockchain Types and Extensions
This repository contains definitions for data structures and signed extensions used in blockchain development within the Web3 ecosystem. These definitions are written in JavaScript-like syntax and can be used as a reference or integrated directly into Web3 projects.
Installation This repository does not require any specific installation steps. Simply download the repository to your local machine to access the definitions.
Usage The definitions provided in this repository can be directly integrated into your Web3 blockchain projects. Import the types object from the index.js file to access the data structures and signed extensions.
Example usage:
javascript Copy code import types from './index.js';
console.log(types.GameInfo); // Accessing the Aczen data structure console.log(types.signedExtensions.CheckAppId); // Accessing the Aczen CheckAppId signed extension Data Structures by palkadot The types object includes definitions for the following data structures:
GameInfo: Contains information related to game settings and configurations, including block length, data proof, and cell information. Signed Extensions The types object also includes definitions for signed extensions, which are used to add custom functionality to blockchain transactions:
CheckAppId: A signed extension used for validating application IDs within blockchain transactions. For detailed information on each data structure and signed extension, refer to the comments within the index.js file.
License This project is licensed under the MIT License - see the LICENSE file for details.