
Build, deploy, and test a hello world contract on the Ardor blockchain, guiding beginners from basics to how lightweight contracts respond to input from a single account.
download the Ardor software by visiting jeliread.com, then click the Windows 2.2 installer to download; this section is optional if you already have Ardor installed.
Open the Ardor files from Google Chrome's download folder, extract the files, follow on-screen prompts in English, and set a custom installation path.
Install Ardor 2 by creating an Ardor test folder in the user directory, selecting that path during setup, and enabling dev tools and desktop mode before finishing.
Complete the Ardor 3 installation, launch the Ardor software from the desktop icon, and connect to the server.
Open Ardor software to see a blue screen with a red warning bar confirming you are connected to the test; if it fails, right-click Ardor icon and show desktop application.
Set up and test lightweight Ardor contracts by creating your own accounts or using three funded burner accounts, with IDs, passphrases, and public keys provided in the course document.
Generate a new Ardor account by creating a passphrase and account address. Copy and securely store the passphrase and account ID, then save the Ardor account information for future use.
Download the Ardor blockchain and locate the public key, account id, and passphrase. Create at least two accounts by logging out and logging back in with the saved credentials.
Fund your Ardor wallet with testnet Ignus via a faucet to obtain tokens for deploying and testing smart contracts.
Explore the Ardor wallet by logging in and viewing parent and child chains, including dom, to navigate assets, data cloud, and messages for lightweight contracts.
Set up the Ardor development environment by installing Java, creating two test accounts, and confirming you are on the test network with Ardor version 2.2.0 or later.
Download Java by navigating to the JDK 11 page, accepting the license, and downloading the Windows version appropriate for your system.
Select the downloaded installer file, open it, and follow the prompts by clicking next to install the software package.
Install and link Java with the arder network using IntelliJ as the free community development environment. Explore downloading, installing, and configuring IntelliJ to deploy lightweight contracts on the arder network.
Download IntelliJ from the official site, select the community version, and skip the paid ultimate edition. Install the software and orient it for use with lightweight contracts.
Install IntelliJ after the download finishes, opt to create a desktop shortcut, and set file associations so Java files open with IntelliJ, then complete the installation.
Open the Ardor testnet project by installing the Ardor software and loading the workspace. Choose a dark theme and review setup steps to start building contracts.
Open IntelliJ project settings, open module settings, set the JDK to Java 11 and language level to 11 for the Ardor project, then apply and click ok.
Rebuild the module in the IDE, then restart IntelliJ to ensure the project is properly set up and linked for the next steps.
Explore the two key components of lightweight Ardor contracts—the contract manager and the contract runner—and how annex properties set their bare minimum configurations to enable deployment.
Open the nxt.properties file, copy the default annex properties, rename the copy to nxt.properties, and create separate contract runner and contract manager sections with commented settings.
Enable the contract runner add-on, supply the deployment account secret phrase from your saved file, and set the Ignus fee rate in FXD terms.
Configure the contract manager by setting the server address to localhost, using the Ardor server, and entering the secret phrase in the properties file, noting the passphrase remains private.
Activate the contract manager by saving XTi properties, installing the contract manager plug-in from disk, selecting the contract manager zip, applying changes, and restarting the Ardor software.
Examine Ardor smart contracts such as a hello world auto-responding to a trigger message, and an offer one payment contract that sums transactions like a lottery.
Start and stop the Ardor server, which runs in the background connected to the Ardor blockchain, using the green play button and red stop control, while monitoring terminal logs.
Learn how to shut down the Ardor server safely by using the system tray shutdown rather than the red button, preventing database corruption and ensuring a graceful stop.
Explore the Ardor web interface in a browser as an alternative to the desktop app, and learn to use the Ardor API to query accounts and supported contracts.
Deploy a prebuilt hello world contract to the Ardor blockchain by using the contract manager, then verify the deployment through the API and blockchain interface.
Explore deploying the hello world contract on the blockchain, then trigger it with a specific message from a funded account to see an automatic, predefined reply.
Switch accounts and log in to send a message to the contract account, then trigger the Hello world lightweight contract and verify the successful response.
Learn how to delete a deployed hello world contract by selecting delete, supplying the account ID, and verifying deletion with the API.
Explore how a contract upload, data, and subsequent deletion appear as transactions on the Ardor blockchain, and view details such as file name, hash, and transaction data.
Explore the Ardor hackathon, a contest to build lightweight contracts and win up to $4000 per contract by tackling currency exchange, cloud storage, and identity verification challenges.
Use Ardordocs as a troubleshooting resource for lightweight contract development and deployment, guiding you through parameters and deeper information to build more complex contracts.
Deploy a contract that sums all incoming transactions over a period and pays the total to a randomly selected winner, then set the trigger to every 50 blocks.
Explore hints for the Ardor contract challenge, including the all for one payment contract, the distributed random number generator, and configuring triggers every 50 blocks.
Identify the all for one payment contract and its two parameters, chain and frequency, which monitor Ignus chain; learn to adjust the default frequency via the annexed properties file.
Show how to adjust the contract frequency by editing the annex properties file, overriding the on-chain value to 50 without altering the contract itself.
Deploy the all for one payment contract to the block chain, configure the contract manager, upload, apply, and deploy, then review the log to verify the outcome.
Troubleshoot the all-for-one payment contract on Ardor; the block triggers an error: the distributed random number generator contract isn’t loaded by the contract runner, so deploy the second contract.
Deploy the distributed random number generator contract and the all for one payment contract, then send two transactions to test winner selection and refund to the chosen account.
Demonstrates how to trigger a contract on Ardor using two transactions from designated accounts, involving a distributed random number generator, to select a winner and transfer the total funds.
Execute two 10 ignus transactions to the contract, then trigger a block-based contract response that randomly sends 20 ignus to one of the two accounts.
Trigger a successful Ardor smart contract execution shows a winner doubling 10 ignus to 20 minus fees, with the transaction included in block 551 and logged in the intelligence log.
This course will show you how to create and deploy blockchain smart contracts using Ardor blockchain technology.
Instead of using Bitcoin, EOS or Ethereum, we will use Ardor.
The course takes students of any level through the production and deployment of blockchain smart contracts.
Videos show a step-by-step guide, that depicts every single part of the process.
You will be given the tools you need to execute your ideas for blockchain apps and businesses.
You will build skills that can be used in other projects, such as Hyperledger.
Blockchain programming is made simple with this easy-to-understand class!