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

  1.  _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

algodot-android.zip 8.7 MB
Version 35 29 days ago

Get Algodot

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.