-
Ganache provides a local in-memory ethereum blockchain, with dummy accounts.
-
We use Metamask extension to connect to local blockchain and interact with the smart contract.
git clone https://github.com/madblocksgit/land-registration-using-blockchain.git
$ cd property-registration
$ npm install
-
Open the Ganache GUI client that you downloaded and installed. This will start local blockchain instance.
$ truffle migrate --reset
You must migrate the smart contract each time your restart ganache.
-
- Unlock Metamask
- Connect metamask to your local Etherum blockchain provided by Ganache.
- Import an account provided by ganache by copying the private key from ganache and pasting it in meta mask extension.
$ npm run dev
Visit this URL in your browser: http://localhost:3000