SmartContracts


SmartContracts

Happy New Years Algo Fam!


There's a new update for AlgoGodot which allows for Smart Contract application calls to be made, successfully tested on Testnet. Algorand smart contracts are pieces of logic that reside on the Algorand blockchain and are remotely callable. These contracts are primarily responsible for implementing the logic associated with a distributed application. Calls to smart contracts are implemented using ApplicationCall transactions. These transaction types are as follows:

  • NoOp - Generic application calls to execute the ApprovalProgram.
  • OptIn - Accounts use this transaction to begin participating in a smart contract. Participation enables local storage usage.
  • DeleteApplication - Transaction to delete the application.
  • UpdateApplication - Transaction to update TEAL Programs for a contract.
  • CloseOut - Accounts use this transaction to close out their participation in the contract. This call can fail based on the TEAL logic, preventing the account from removing the contract from its balance record.
  • ClearState - Similar to CloseOut, but the transaction will always clear a contract from the account’s balance record whether the program succeeds or fails.

The SmartContract Update contains the following features

(1) SmartContract App Calls:

Smart Contract App Calls (NoOp Transactions) can be constructed and signed from within the game engine using Godot Engine's GDScript.

(2)  Wallet UI Template: 

The current update comes with a Wallet UI  Github template, ported from Figma and implemented in Godot using Godot's UI nodes. It's used to release a compiled multi-platform working Demo Wallet Application.

(3) Documentation Bug fix & Updates:

Algodot's built in documentation just had a minor bug fix and contains updated documentation on the Plugin and It's Source Code.

(4) Abi SmartContracts :

Abi smart contracts (ARC 04) have been implemented in an experimental Testnet build. It allows for Abi method calls to smart contracts using the Atomic Transaction Composer. It allows for calls to Escrow Smart Contracts for withdrawals and deposits, with long-term plans to implement Abi types natively within Algodot.

Files

algodot plugin.zip 22 MB
Jan 01, 2023

Get Algodot

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.