Aqd(عَقد - meaning a contract in Arabic) is a versatile CLI tool for interacting with smart contracts on the Solana and Polkadot blockchains.
It provides a user-friendly interface with commands for deploying smart contracts and calling specific functions on the deployed contracts.
Whether you're developing on Solana or Polkadot, Aqd simplifies your smart contract interactions.
You can install Aqd using cargo :
cargo install --force --locked aqdTo upload a contract to Polkadot:
aqd polkadot upload --suri //Alice -x flipper.contractTo instantiate a contract on Polkadot:
aqd polkadot instantiate --suri //Alice --args true -x flipper.contractTo call a specific function on Polkadot:
aqd polkadot call --contract <contract_address> --message get --suri //Alice flipper.contractTo deploy a contract to Solana:
aqd solana deploy flipper.soTo call a specific function on Solana:
aqd solana call --idl flipper.json --program <program_id> --instruction new --data true --accounts new self systemFor more information, refer to Solang Aqd documentation
| Package | Description | Version |
|---|---|---|
aqd-core |
The CLI tool core crate | pre-release |
aqd-polkadot |
Smart contract interactions for Polkadot | pre-release |
aqd-solana |
Smart contract interactions for Solana | pre-release |
aqd-utils |
Utility functions and common code | pre-release |
aqd-solana-contracts |
Rust crate for Solana smart contract interactions | pre-release |