DEV Community

Cover image for Blockchain in practice with Land Registry System in Laravel

Blockchain in practice with Land Registry System in Laravel

Abdur Rahman on October 06, 2019

In this article, I will summarize how to build a blockchain-based land registry application. This should help you to grasp the basics of blockchain...
Collapse
 
muhaimenul profile image
Muhaimenul Islam • Edited

Thanks for this beginner friendly article. It really helped me a lot to quick start hands on blockchain development. I highly appreciate it. The guideline and references are really useful for me. Finally, I got some clear idea regarding blockchain development.

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Thank you

Collapse
 
sanika28 profile image
Sanika Tomar

There is a problem when I register the Land details, It does not show any Option to select the Id. On inspecting I get this "LandRegistry has not(truffle-contract.js:456) been deployed to a detected network (network/artifact mismatch)". What should I do in order to solve this?

Collapse
 
cricspass profile image
cricspass

Yes Can you guide! I am getting the same problem as well!

Collapse
 
ryanarcel profile image
Ryan Arcel Galendez

Good day. Sorry for being such a noob but how can I run this application? I tried "php artisan serve" but it does not run. Thank you.

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Ryan Arcel Galendez, thanks for reaching out.

You need to set up MetaMask and Ganache and all the tools mentioned on the blog.
Also, please let me know what error you see.
If you still face any problem, I am here to help you.
Thank you.

Collapse
 
ryanarcel profile image
Ryan Arcel Galendez

I have already set up Metamask and Ganache. When I "php artisan serve" it, I got an error. Apparently it is looking for a /vendor/autoload.php file.

Thread Thread
 
abdurrahmanriyad profile image
Abdur Rahman

Then you might not run "composer install"

Collapse
 
yeshigyelts profile image
Yeshi

Hello Abdur, I have downloaded your project and everything is working well. I would like to know if it is possible to build a blockchain app without requiring metamask i.e. signing the transactions by backend. I do not want my end-users to go through the process of downloading the extension and configuring it.

Collapse
 
henober profile image
Henober

Hello dear friend thanks for your explanation. I have installed every tools and compiled and migrate the smart contract into ganache and view new address transaction! however after i browse and login the Laravel application on browser with metamask. when i try to insert data on land registry form and i click submit nothing doesn't come . i think its the Laravel application is not inserting data to the blockchain network ? what should i do

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Not sure.
There could be multiple reasons.
May be your metamask wallet doesn't have enough gas to make a transaction.
Or may be you are not properly connected with Ganache.
Please play more with it, it should be working.
If you still fail, do let me know I will try to help you.
Thanks

Collapse
 
paulchase profile image
Paul Ajonye

Is there video format for this tutorial?

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Sorry.
No.

Collapse
 
francimaina profile image
francimaina

I have installed and set up all the required apps but when i try to truffle compile and migrate it does not work what could be the challenge

Collapse
 
maccladder profile image
maccladder

Hi i have this error when i try to register a land. i see it in the console. please enlighten me!
Image description

Collapse
 
agilulfo1820 profile image
Dan Rusnac

Hi, I'm looking at your code but don't see where are you using the ABI and how you are using Laravel to interact with the smart contract (eg: taking the new data)

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Please refer to js files in the public/js folder.
The following is responsible for communicating with ABI and Laravel view file to do the mentioned functionalities.

github.com/abdurrahmanriyad/blockc...

Collapse
 
rakib09 profile image
Rakibul Hasan

Very nice article.
I appreciate it. After reading this blog my confusion about smart contact is much clear.
thanks for this post.

Collapse
 
abdurrahmanriyad profile image
Abdur Rahman

Thank you very much.
This will inspire me to write on in the future.

Collapse
 
emmatosin profile image
emmatosin

Help. It's not running here