Click the Connect to Wallet button; it opens a popup window to select an account:
Click on the account you want to connect with, and click Connect. Once connected the Connect to Wallet button is not diplayed.
If you've just installed the wallet, there is no account registered yet and you need to import a faucet account. To do so:
- Download a faucet account file from the faucet (instructions here)
- Import the faucet file in Temple wallet (instructions here)
Faucet accounts are credited with fake tezies on the Tezos testnet in order to interact with test contracts.
Click the Post Bid button to make a bid of 10 tezies. The wallet generates a popup window for you to confirm the transaction:
For information, the raw transaction parameter is displayed below:
Click Confirm; the following message is displayed for 4 seconds:
This message is defined in the
bid entrypoint of the contract:
The asset has not been set up for sale by the owner.
Say the owner requires a minimum price of 7 tezies.
Enter the following Completium CLI command to invoke the entrypoint
Check and confirm the transaction parameter: type 'Y' and press enter.
When prompt returns, you can check the transaction detail in the contract indexer Better Call Dev. You can display the contract's URL with the command:
On the contract page in Better Call Dev, in the 'Operations' tab, click on the
upforsale transaction to display the detail:
Better Call Dev highlights in yellow the effect of the transaction on the storage.
Now the asset is up for sale, click the Post Bid button again. Now a waiting message is displayed:
Check the effect on the contract storage:
bestbiddervariables have been updated
endofbidhas been incremented by 2 minutes
- transferred amount is 10 tezies
If the time window (5 minutes) to make a bid has expired, the error message below is displayed:
r2 is defined in the smart contract as the id of the execution condition of the
The solution is to set back the contract state to
Owned by calling the
admin account. This is done with the following command:
Once confirmed, you may proceed to Set asset up for sale step above.