{"id":13735981,"url":"https://github.com/rafaelazeredo/creditbank","last_synced_at":"2025-05-08T12:31:39.486Z","repository":{"id":140638699,"uuid":"140393879","full_name":"rafaelazeredo/creditbank","owner":"rafaelazeredo","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-06T14:07:49.000Z","size":5262,"stargazers_count":7,"open_issues_count":10,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-15T04:31:17.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaelazeredo.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}},"created_at":"2018-07-10T07:26:47.000Z","updated_at":"2019-11-11T13:06:39.000Z","dependencies_parsed_at":"2024-01-03T05:14:12.571Z","dependency_job_id":"926649d5-743e-4c82-85ea-9db13d3535d1","html_url":"https://github.com/rafaelazeredo/creditbank","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelazeredo%2Fcreditbank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelazeredo%2Fcreditbank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelazeredo%2Fcreditbank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelazeredo%2Fcreditbank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelazeredo","download_url":"https://codeload.github.com/rafaelazeredo/creditbank/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253068568,"owners_count":21848829,"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-08-03T03:01:13.768Z","updated_at":"2025-05-08T12:31:39.134Z","avatar_url":"https://github.com/rafaelazeredo.png","language":"Kotlin","funding_links":[],"categories":["CorDapps"],"sub_categories":[],"readme":"![Corda](https://www.corda.net/wp-content/uploads/2016/11/fg005_corda_b.png)\n\n# CorDapp Template\n\nWelcome to the CorDapp template. The CorDapp template is a stubbed-out CorDapp \nwhich you can use to bootstrap your own CorDapp projects.\n\n**This is the KOTLIN version of the CorDapp template. For the JAVA version click \n[here](https://github.com/corda/cordapp-template-java/).**\n\n## Pre-Requisites\n\nYou will need the following installed on your machine before you can start:\n\n* [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) \n  installed and available on your path (Minimum version: 1.8_131).\n* [IntelliJ IDEA](https://www.jetbrains.com/idea/download/) (Minimum version 2017.1)\n* git\n* Optional: [h2 web console](http://www.h2database.com/html/download.html)\n  (download the \"platform-independent zip\")\n\nFor more detailed information, see the\n[getting set up](https://docs.corda.net/getting-set-up.html) page on the\nCorda docsite.\n\nFor IDE, compilation and JVM version issues, see the\n[Troubleshooting](https://docs.corda.net/troubleshooting.html) page on the Corda docsite.\n\n## Getting Set Up\n\nTo get started, clone this repository with:\n\n     git clone https://github.com/corda/cordapp-template-kotlin.git\n\nAnd change directories to the newly cloned repo:\n\n     cd cordapp-template-kotlin\n\n## Building the CorDapp template:\n\n**Unix:** \n\n     ./gradlew deployNodes\n\n**Windows:**\n\n     gradlew.bat deployNodes\n\nNote: You'll need to re-run this build step after making any changes to\nthe template for these to take effect on the node.\n\n## Running the Nodes\n\nOnce the build finishes, change directories to the folder where the newly\nbuilt nodes are located:\n\n     cd build/nodes\n\nThe Gradle build script will have created a folder for each node. You'll\nsee three folders, one for each node and a `runnodes` script. You can\nrun the nodes with:\n\n**Unix:**\n\n     ./runnodes --log-to-console --logging-level=DEBUG\n\n**Windows:**\n\n    runnodes.bat --log-to-console --logging-level=DEBUG\n\nYou should now have three Corda nodes running on your machine serving \nthe template.\n\nWhen the nodes have booted up, you should see a message like the following \nin the console: \n\n     Node started up and registered in 5.007 sec\n\n## Interacting with the CorDapp via HTTP\n\nThe CorDapp defines a couple of HTTP API end-points and also serves some\nstatic web content. Initially, these return generic template responses.\n\nThe nodes can be found using the following port numbers, defined in \n`build.gradle`, as well as the `node.conf` file for each node found\nunder `build/nodes/partyX`:\n\n     PartyA: localhost:10007\n     PartyB: localhost:10010\n\nAs the nodes start up, they should tell you which host and port their\nembedded web server is running on. The API endpoints served are:\n\n     /api/template/templateGetEndpoint\n\nAnd the static web content is served from:\n\n     /web/template\n\n## Using the Example RPC Client\n\nThe `ExampleClient.kt` file is a simple utility which uses the client\nRPC library to connect to a node and log its transaction activity.\nIt will log any existing states and listen for any future states. To build \nthe client use the following Gradle task:\n\n     ./gradlew runTemplateClient\n\nTo run the client:\n\n**Via IntelliJ:**\n\nSelect the 'Run Template RPC Client'\nrun configuration which, by default, connect to PartyA (RPC port 10006). Click the\nGreen Arrow to run the client.\n\n**Via the command line:**\n\nRun the following Gradle task:\n\n     ./gradlew runTemplateClient\n     \nNote that the template rPC client won't output anything to the console as no state \nobjects are contained in either PartyA's or PartyB's vault.\n\n## Running the Nodes Across Multiple Machines\n\nSee https://docs.corda.net/tutorial-cordapp.html#running-nodes-across-machines.\n\n## Further reading\n\nTutorials and developer docs for CorDapps and Corda are\n[here](https://docs.corda.net/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelazeredo%2Fcreditbank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelazeredo%2Fcreditbank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelazeredo%2Fcreditbank/lists"}