Dear lovely developers.
I've been a fan of Moodle for a long time. Using it for various hobby projects and small client deployments.
Currently there is a request for "web3 functionality".
The function requested is as follows:
1) Take a user input, a string.
2) Send the input to web3.js for verification on the blockchain, return true or false.
3) And if the condition is true, then to commit to the moodle database. For example like: verified user or something. Or assign a "group" to this user.
I've gone through the moodle documentation, i've also done one of the basic tutorials on creating a block. But i'm still very confused what is the best way to implement this.