This is a POC project of PromptPay using R3 Corda. Nothing more than that :P
This project consist of several modules as follow:
- asset issue and asset transfer using built-in Corda flow (AssetIssueFlow and AssetPaymentFlow)
- proxy name registration (ProxyNameIssueFlow)
- proxy name inquiry using oracle (ProxyNameQueryFlow)
- money transfer using proxy name (AccountTransferProposeFlow and AccountTransferConfirmFlow)
- JDK 8 installed and available on your path (Minimum version: 1.8_131).
if you want to develop, you need additional as follow:
- IntelliJ IDEA (Minimum version 2017.1)
- git
To get started, clone this repository with:
git clone https://github.com/apemon/corda-promptpay-poc.git
And change directories to the newly cloned repo:
cd corda-promptpay-poc
Unix:
./gradlew deployNodes
Windows:
gradlew.bat deployNodes
Once the build finishes, change directories to the folder where the newly built nodes are located:
cd build/nodes
The Gradle build script will have created a folder for each node. You'll
see three folders, one for each node and a runnodes
script. You can
run the nodes with:
Unix:
./runnodes
Windows:
runnodes.bat
You can interact with Corda via HTTP. You can use postman script that simulate simple scenario by import "promptpay-poc.postman_collection.json"
My medium blog post (Thai version) here.