product-sdk-contracts
OfficialErgonomic, typed smart contract interactions on Asset Hub
Authorparitytech
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill solves the problem of interacting with smart contracts on Asset Hub, providing a simple and efficient way to manage contract operations and data retrieval.
Core Features & Use Cases
- Contract Management: Manage multiple contracts with cdm.json manifests or ad-hoc contracts.
- State Management: Perform read-only calls and state-changing transactions on contracts.
- Integration: Seamlessly integrates with other SDK packages for a full Polkadot ecosystem experience.
- Use Case: Build a decentralized application that requires contract interactions on Asset Hub, such as a marketplace or token management system.
Quick Start
To get started, create a ContractManager instance and use it to interact with a contract. For example, to read the count from a contract, use the following command:
const counter = manager.getContract("@example/counter");
const { value } = await counter.getCount.query();
Dependency Matrix
Required Modules
@parity/product-sdk-contracts@parity/product-sdk-chain-client@parity/product-sdk-signer
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: product-sdk-contracts Download link: https://github.com/paritytech/product-sdk/archive/main.zip#product-sdk-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.