Sample prompts for deploying and using a smart wallet between the agent and the user.
Deploy a Smart Wallet
Deploy a smart wallet using the following info:
- owner_address: ST3YT0XW92E6T2FE59B2G5N2WNNFSBZ6MZKQS5D18
- dao_token_contract: ST252TFQ08T74ZZ6XK426TQNV4EXF1D4RMTTNCWFA.media2-faktory
Deposit STX to a Smart Wallet
Deposit STX to a smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
- amount: 10000000 (10 STX in micro-STX)
Deposit Fungible Tokens to a Smart Wallet
Deposit fungible tokens to a smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
- ft_contract: ST252TFQ08T74ZZ6XK426TQNV4EXF1D4RMTTNCWFA.media2-faktory
- amount: 1000000000000 (10,000 MEDIA2 tokens with 8 decimals)
Approve an Asset for Smart Wallet
Approve an asset for use with the smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
- asset_contract: ST252TFQ08T74ZZ6XK426TQNV4EXF1D4RMTTNCWFA.media2-faktory
Revoke an Asset from Smart Wallet
Revoke an asset from the smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
- asset_contract: ST252TFQ08T74ZZ6XK426TQNV4EXF1D4RMTTNCWFA.media2-faktory
Get STX Balance from Smart Wallet
Get the STX balance from a smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
Check if Asset is Approved in Smart Wallet
Check if an asset is approved in the smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18
- asset_contract: ST252TFQ08T74ZZ6XK426TQNV4EXF1D4RMTTNCWFA.media2-faktory
Get Smart Wallet Configuration
Get the configuration of a smart wallet using the following info:
- smart_wallet_contract: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM.aibtc-smart-wallet-ST3YT-S5D18