In Doubloon, there is a service that validates that the messages are well formed. But now, the business indicates that there should be validation at the customer's location. This is very simple, there is a term called a bit license, which limits virtual currency activities to a geographical area. At the time of writing, the regulations are limited to New York residents. For this purpose, those that reside, are located, have a place of business, or are conducting business, in the state of New York count as New York residents.
The execution of the recipes in Chapter 3, Message Validation is needed.
- The first step is to open the
build.gradle
file on the Doubloon project created in Chapter 3, Message Validation, and add the lines in the following code:
apply plugin: 'java' apply plugin: 'application' sourceCompatibility = '1.8' mainClassName = 'doubloon.ProcessingApp' repositories { mavenCentral() } version = '0.2.0' dependencies...