I would like to have filemaker interact with blockchains. Is this a possible function that is coming?
Hi, this was mentioned in the recent FileMaker Product Roadmap Webinar 2019 as being under consideration so it could be at some point in the future.
Check out the roadmap webinar and listing of features below:
FileMaker Product Roadmap 2019
I'm sort of a blockchain blockhead so I don't know if this is a satisfactory answer or not, but is it possible to do what you want with blockchain using a public API?
I saw this cool tutorial that uses Java NOW so, if you used a micro-service you call from FMP, you could use blockchains right now.
This tutorial looks really cool, perhaps a bit basic, bit if you are up for a little coding, let me know.
Here's a more complete tutorial: Java Redefined: Java Blockchain tutorial
Get a simple REST micro-service platform installed like the very easy to use SparkJava (Spark Framework: An expressive web framework for Kotlin and Java).
I could come up with a FileMaker example in about 30 minutes if you're interested.
I just whipped up the first example in about 15 minutes and came up with this blockchain below.
NOTE: Using the free GSON API, as the tutorial shows, you create JSON output directly from Java classes. No Code to Write.
"data": "Hi im the first block",
"data": "Yo im the second block",
"data": "Hey im the third block",
There's a follow-on (part 2) of that tutorial that implements wallets and other more "useful" features once you have this basic down.
I changed the tutorial to NOT USE PUBLIC VARIABLES (such a bad practice), but instead to use getter/setters. The other code that computes the Hex value is also easily replaceable with a simple Java method, but I didn't refactor that code.
I'll send you my Java code if you would like.
Please let me know (and everyone else) how you're doing with this. Blockchain is a cool technology (just to say "blockchain" and impress your friends! <s>).
Thanks for your interesting posting. Let's see what develops.
Part two of the tutorial is much better and more realistic since a blockchain could have thousands of entries and you need to verify keys and such.
Creating and Mining Genesis block...
Transaction Successfully added to Block
Block Mined!!! : 000e5972695c10d73c0fda3d43646d22d7ac1e4aac9a48fa252a31f3d55adf90
WalletA's balance is: 100.0
WalletA is Attempting to send funds (40) to WalletB...
Block Mined!!! : 000f33849f553b342a31ccf045691e994357550815f05e48dc03a37513df19e9
WalletA's balance is: 60.0
WalletB's balance is: 40.0
WalletA Attempting to send more funds (1000) than it has...
#Not Enough funds to send transaction. Transaction Discarded.
Block Mined!!! : 0009b2b42c94daa73b08e9c8cd8d49428c4499a2b65c47fa5a18f6dbf13f70c4
WalletB is Attempting to send funds (20) to WalletA...
WalletA's balance is: 80.0
WalletB's balance is: 20.0
Blockchain is valid
This code would not difficult to get working in FMP, depending, of course, on your requirements.
Retrieving data ...