{"id":15453839,"url":"https://github.com/itshyphen/stablecoin","last_synced_at":"2025-03-28T09:42:34.376Z","repository":{"id":238712806,"uuid":"549546762","full_name":"Itshyphen/StableCoin","owner":"Itshyphen","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-20T17:14:23.000Z","size":221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T10:27:56.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Itshyphen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-11T10:58:30.000Z","updated_at":"2024-05-07T15:27:49.000Z","dependencies_parsed_at":"2024-05-07T17:50:18.806Z","dependency_job_id":null,"html_url":"https://github.com/Itshyphen/StableCoin","commit_stats":null,"previous_names":["itshyphen/stablecoin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itshyphen%2FStableCoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itshyphen%2FStableCoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itshyphen%2FStableCoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Itshyphen%2FStableCoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Itshyphen","download_url":"https://codeload.github.com/Itshyphen/StableCoin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009029,"owners_count":20708880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T22:01:11.093Z","updated_at":"2025-03-28T09:42:34.353Z","avatar_url":"https://github.com/Itshyphen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stable Coin (Java)\n\nThis repository contains StableCoin score in Java and instruction on how to deploy and run tests. \n\n## How to Run\n\n### 1. Build the project\n\n```\n./gradlew build\n```\nThe compiled jar bundle will be generated at `./stable-coin/build/libs/stable-coin-0.1.0.jar`\n\n### 2. Optimize the jar\n\n`gradle-javaee-plugin` is a Gradle plugin to automate the process of generating the optimized jar bundle.\nRun the `optimizedJar` task to generate the optimized jar bundle.\n\n```\n./gradlew optimizedJar\n```\nThe output jar will be located at `./stable-coin/build/libs/stable-coin-0.1.0-optimized.jar`\n\n### 3. Update gradle.properties\n\nTo use the following command, update `gradle.properties` with KeyWallet and password linked.\n\n   ```\n   keystoreName= path to deployer wallet\n   keystorePass= deployer wallet password\n   ```\n\n### 4. Deploy the optimized jar\n\nDeploy using either of the following commands. The `build.gradle` in `stable-coin` has 4 endpoints included. \nTo deploy on Berlin, run the following command. To deploy on other networks, for example, change `deployToBerlin` \nto `deployToLisbon`.\n\n```sh\n./gradlew stable-coin:deployToBerlin\n```\n\n### 5. Run unit test\n\n```sh\n./gradlew :stable-coin:test\n```\n\n### 6. Run integration test\n\n```sh\n./gradlew :stable-coin:integrationTest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitshyphen%2Fstablecoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitshyphen%2Fstablecoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitshyphen%2Fstablecoin/lists"}