-
Notifications
You must be signed in to change notification settings - Fork 93
Program: Transaction Simulator
hkanezashi edited this page Apr 25, 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.
Put all jar files of the following libraries to jars directory.
- MASON version 18
- Commons-Math 3.6.1
-
PaySim Please generate
paysim.jarwith 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
Then, run the following command to compile.
sh scripts/build_AMLSim.shsh scripts/run_AMLSim.sh [SimulationName] [Steps]- SimulationName: Simulation name
- Steps: Number of steps per simulation
Example:
sh scripts/run_AMLSim.sh sample 150After running this script, the transaction log file can be found at outputs/sample/sample_log.csv.