-
Notifications
You must be signed in to change notification settings - Fork 93
Program: Transaction Simulator
hkanezashi edited this page Nov 7, 2019
·
6 revisions
Transaction simulator is a Java application to simulate banking transactions based on the generated transaction network and account information, and output transaction log data.
Please put all jar files of the following libraries to jars directory before running this simulator.
- MASON version 18
- Commons-Math 3.6.1
-
PaySim Please use the
paysim.jarwhich is already existent under thejarsdirectory or generate it with the following commands:
git clone https://github.com/EdgarLopezPhD/PaySim.git
cd PaySim
git checkout 62a29b77c28bd03e717a67c8ab975c671ba0080d
mkdir bin jars
cp /path/to/commons-math-3-3.6.1*.jar /path/to/mason.18.jar jars/
javac -d bin -cp "jars/*" src/paysim/*.java
cd bin
jar cf paysim.jar paysim
Suppose that a transaction network is already generated by Transaction Network Generator
sh scripts/run_AMLSim.sh [ConfJSON]- ConfJSON: Configuration JSON file path
Example:
sh scripts/run_AMLSim.sh conf.jsonAfter running this script, the transaction log file can be found at outputs/sample/sample_log.csv.