@alien-worlds/aw-contract-token-worlds
v0.0.36
Published
The `@alien-worlds/aw-contract-token-worlds` package is a comprehensive set of components designed to seamlessly integrate blockchain contracts into our projects. This package serves as a foundational element, providing essential functionalities for inter
Downloads
14
Keywords
Readme
token.worlds Common
The @alien-worlds/aw-contract-token-worlds
package is a comprehensive set of components designed to seamlessly integrate blockchain contracts into our projects. This package serves as a foundational element, providing essential functionalities for interacting with blockchain contracts and retrieving data.
The code within this package is auto-generated using our tool, AlienGen. AlienGen automates the generation process, ensuring consistency and accuracy throughout the codebase. This approach allows us to maintain an efficient and reliable workflow when working with blockchain contracts.
Dependencies
This package is dependent on the following packages:
- @alien-worlds/api-core
- @alien-worlds/eos
- @alien-worlds/eosio-contract-types
- @alien-worlds/storage-mongodb
Table of Contents
Contract contents:
The code is based on the ABI of the contract, the list of included actions and tables can be found here https://wax.bloks.io/account/token.worlds
Features
Contract Service: Allows users to fetch contract information and statistics. It provides convenient methods to retrieve data from the contract tables.
Data Sources: Data sources
TokenWorldsActionMongoSource
andTokenWorldsDeltaMongoSource
, which enable access to the underlying mongodb action and delta collections. Data source is an integral part of the repositories.Repositories: Repositories
TokenWorldsActionRepository
andTokenWorldsDeltaRepository
that facilitate CRUD operations for actions and deltas stored in the database.Entities and Types: The package provides predefined entities and types that correspond to the contract structure. These entities and types offer a standardized way to handle contract data within our projects.
Getting Started
To start utilizing the @alien-worlds/aw-contract-token-worlds
package, follow these steps:
- Install the package by running:
yarn add @alien-worlds/aw-contract-token-worlds
- Import the necessary components into your project:
import * as TokenWorldsContract from '@alien-worlds/aw-contract-token-worlds';
Contributing
We appreciate your feedback and encourage you to submit any issues or valid requests you encounter while using this package. Please note that, due to the auto-generated nature of the code, we will not be merging any pull requests directly. However, we highly value your feedback and welcome any issues or valid requests you encounter while working with this package. Your inputs will be considered for future improvements and enhancements in the AlienGen tool, allowing us to generate more refined and fixed content.
License
This project is licensed under the terms of the MIT license. For more information, refer to the LICENSE file.