Boilerplate code for hello world java score and deploy it on testnet.

Overview

Java SCORE Examples

This repository contains template of a java SCORE and instructions on how to deploy a simple java score.

How to Run

1. Build the project

$ ./gradlew build

The compiled jar bundle will be generated at ./hello-world/build/libs/hello-world-0.1.0.jar.

2. Optimize the jar

You need to optimize your jar bundle before you deploy it to local or ICON networks. This involves some pre-processing to ensure the actual deployment successful.

gradle-javaee-plugin is a Gradle plugin to automate the process of generating the optimized jar bundle. Run the optimizedJar task to generate the optimized jar bundle.

$ ./gradlew optimizedJar

The output jar will be located at ./hello-world/build/libs/hello-world-0.1.0-optimized.jar.

3. Deploy the optimized jar

You can deploy using either of the following commands. The build.gradle in hello-world has 4 endpoints included. To deploy on Sejong, run the following command. To deploy on other networks, for example Lison, change deployToSejong to deployToLisbon.

  1. ./gradlew hello-world:deployToSejong -PkeystoreName=<your_wallet_json> -PkeystorePass=<password>
    # example below
    ./gradlew hello-world:deployToSejong -PkeystoreName='JavaTest.json' -PkeystorePass='p@ssw0rd'
    

To use the following command, make sure you have gradle.properties file with KeyWallet and password linked.

  1. ./gradlew hello-world:deployToSejong
    
You might also like...

Ethylene is a open-source, lightweight, general-purpose compatibility layer standing between the developer and the chaotic world of configuration file formats.

Ethylene Ethylene is a open-source, lightweight, general-purpose compatibility layer standing between the developer and the chaotic world of configura

Aug 9, 2022

Caches datapack- and server resources to make world creation faster.

antiresourcereload Caches datapack- and server resources to make world creation faster. Legalisation Status Legal (1.0.2) Description I found out abou

Nov 18, 2022

An AI companion who is eager to learn and would love to see the world through your eyes. Gedir is always ready to chat when you need an empathetic friend

An AI companion who is eager to learn and would love to see the world through your eyes. Gedir is always ready to chat when you need an empathetic friend

Gedir We are currently developing the core. Ideas, feedback, and contributions to code are all very welcome. An AI companion who is eager to learn and

Sep 3, 2022

This is the java/Maven application we are building to solve one real world problem.

timly This is the java/Maven application we are building to solve one real world problem. As in MLH we are working with fellows across the globe and e

Feb 16, 2022

Team 5468's 2022 FRC robot code. This code is written in Java and is based off of WPILib's Java control system and utilizes a command based system

FRC 2022 Team 5468's 2022 FRC robot code. This code is written in Java and is based off of WPILib's Java control system and utilizes a command based s

Oct 4, 2022

This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple servers.

OpenSourceSectors 😎 🗒️ This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple s

Dec 28, 2022

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs

🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs

简体中文 What is Turms Turms is the most advanced open-source instant messaging engine for 100K~10M concurrent users in the world. Please refer to Turms D

Dec 27, 2022

winner of the "world's saddest meteor skid" award for two years running

winner of the

TideHack+ "Leaked" winner of the "world's saddest meteor skid" award for two years running. does this even count as a leak? it's literally just a mete

Jan 29, 2022

Mentoring: Abstracting real-world situations with Object Orientation

Mentoring: Abstracting real-world situations with Object Orientation

Mentoria: Abstraindo situações do mundo real com Orientação a Objetos O objetivo principal é colocar em prática umas das principais ferramentas da OO:

Feb 11, 2022
Owner
null
hello-git-taqiyaehsan created by GitHub Classroom

?? The Basics of GitHub ?? Course overview and learning outcomes The goal of this course is to give you a brief introduction to GitHub. We’ll also pro

null 1 Feb 3, 2022
Super simple deploy using spring boot, docker, k8s and kind

Target Target of this repository is show how to build spring boot application Docker image and deploy it with kind and k8s at least in local. Prerequi

Max 4 Aug 22, 2021
With this template, you are ste to deploy your application to Heroku

Template for deployment With this template, you are ste to deploy your application to Heroku. I´m using a Spring backend, React JS Frontend with Mongo

Thomas Kittlaus 4 Jun 23, 2022
JHipster Lite ⚡ is a development platform to generate, develop & deploy modern web applications & microservice architectures, step by step.

JHipster Lite ⚡ Description JHipster is a development platform to quickly generate, develop & deploy modern web applications & microservice architectu

JHipster 255 Jan 3, 2023
Deploy this 🔥🔥🔥 BLAZING FAST 🔥🔥🔥 API to get instant access to ✨✨✨ INNOVATIVE ✨✨✨ API to quickly define whether the numbers are odd or even.

Is Odd API This ?? is ?? ?? a ?? simple API that ?? returns ?? whether ?? ?? a ?? number ?? ?? is ?? ?? odd ?? or ?? not. ♂ With ?? ?? this ?? ?? API

rferee 5 Sep 23, 2022
A Spring Boot Camel boilerplate that aims to consume events from Apache Kafka, process it and send to a PostgreSQL database.

SPRING-BOOT CAMEL BOILERPLATE This is a Spring-Boot Camel Application model that you can use as a reference to study or even to use in your company. I

Bruno Delgado 45 Apr 4, 2022
A boilerplate project designed to work as a template for new microservices and help you get in touch with various useful concepts.

Microservice Reference Project This project is inspired by the idea to quickly create a production ready project with all the required infrastructure

Innovation & Tech 4 Dec 17, 2022
Turbomodule and Fabric renderer boilerplate

REACT NATIVE TURBOMODULE FABRIC RENDERER BOILERPATE This is BOILERPATE template for enable turbomodule and fabric renderer Generate Codegen native fil

Numan 9 Jul 17, 2022
Spring Domain Driven Design Boilerplate

Spring Domain Driven Design Boilerplate This project describes some product operations such as create and get, also covered by Domain Driven Design on

Dolap.com Development Team 40 Dec 29, 2022
The amazing code that never fails. The eighth world wonder.

2022-Ballistabots-FRC FRC Team 8878’s code for the 2022 Season Getting started Download the repository There are multiple ways to download this code b

frc8788 1 Feb 13, 2022