Algod Node Documentation
Algodot Node
An instance of the Algorand blockchain's node in Godot engine written in rust using Algonaut Crates
and compiled as a dynamic library.
Methods
- _enter_tree()
called when the Algod node enters the scene tree
(2) account_information(String: address, String: Mnemonic)
gets account information from a given address. Requires
a running algorand sandbox node. Needs the wallet's address
and sometimes the mnemonic.
(3) compile_teal(String: "res//path_to_script")
compiles teal
(4) construct_asset_create()
creates algorand assets
(5) construct_asset_xfer()
creates an asset transfer tx between two wallets
(6) construct_payment()
constructs a payment transaction between two or more wallets.
can also construct a group signed transaction
(7) generate_keys()
generates a new account with mnemonic stored to a dictionary
(8) get_address()
Generates a Wallet Address from a mnemonic string.
(9) group_transactions()
constructs a group tx that can be signed by both wallet addresses
(10) health()
checks the health of connection of the plugin to the algorand node
(11) headers
The algod node header parameters
(12) send_transactions()
sends a tx between a receiver and funder wallet
(13) send_transactions()
sends a grouped tx between wallets
(14) sets_headers()
Sets the algod node headers which is a (String, String) Parameter for intitalizing
the algod node.
(15) set_url()
sets the algod node url
(16) sign_transaction()
signs a transaction using a senders mnemonic (Secret Key), adds a sig: ByteArray()
parameter to the existing transacton's parameters using a MyTransaction::ToVariant
in Algodot's Core.rs, after which the signed transaction can be sent to the Algorand blockchain
(17) status()
checks the status of a transaction
(18) suggested_transaction_params()
uses the Algorand suggested transaction parameters. The alternative is to
manually set the parameters, including the transaction fee, and other tx
parameters
(19) token()
(20) transaction_information()
gets the transaction information from a transaction id
(21) Url (path)
A path to the url that algod node uses. Can be set to local host sandbox via Algokit, Tesnet or Mainnet from Nodely
testnet, betanet, or mainnet
(22) wait_for_block( tx_id )
waits for a transaction block to finish processing, usually 4-5 seconds.
it takes the transaction id as a parameter
(23) Contruct_atc(params, address: String,mnemonic : String,app_ id: Int, app argument: String)
Contructs An Atomic Transaction Composer. returns a dictionary of the tx id or error code
Files
Get Algodot
Algodot
Algorand Blockchain in Godot Game Engine
Status | Prototype |
Category | Tool |
Author | Inhumanity studios |
Tags | algorand, blockchain, crypto, gamefi, Godot, plugin |
More posts
- Web Assembly support & Bleeding Edge Updates29 days ago
- The U.S. Elections 2024: A Major Factor Moving Financial Markets, Market Reactio...56 days ago
- Version 0.2.1 UpdateMar 28, 2023
- Africa's Digital Payment: A Case Study, NigeriaFeb 03, 2023
- Demo Wallet App ReleaseJan 23, 2023
- SmartContractsJan 01, 2023
- Windows Dependencies for OpenSSL *AddedDec 14, 2022
- AlgoWallet implementation releaseOct 31, 2022
- Version 0.2.1Sep 24, 2022
Leave a comment
Log in with itch.io to leave a comment.