Smart contracts are an advanced feature of XPLA Vault. If you’re using XPLA Vault for the first time, follow the XPLA Vault tutorial.
Compile a contract locally and create a
Deploy a contract by uploading your
.wasm file to XPLA Vault.
Open XPLA Vault and connect your wallet. Click Contracts.
.wasmfile and enter your password.
Your contract is now uploaded, and you received a contract code ID.
Use Instantiate to initialize your contract after uploading.
Enter your contract code ID,
InitMsg JSON, name, and description.
Confirm the fee amounts and enter your password. Click Submit.
Your contract is now initialized.
Use Query to find out contract values. Querying does not cost anything.
Click Query located under your contract address.
Input. Click Submit.
XPLA Vault will show your query result.
Use Execute to use the contract. Interacting will spend gas.
Click Execute located under your contract address.
Confirm the fee amounts and click Submit.