Skip to content

Latest commit

 

History

History
67 lines (46 loc) · 1.11 KB

File metadata and controls

67 lines (46 loc) · 1.11 KB

Stone Real Estate Smart Contract

This repo contains all the smart contracts related to the Stone Real Estate Tokenization plateform.

Test

Install dependencies

Open your terminal and run :

$ npm i

Using Truffle develop

run :

$ truffle develop

Open another terminal and run :

$ truffle test

Using ganache

To install Ganache globally, run :

$ npm install ganache --global

Once installed globally, you can start ganache right from your command line :

ganache

Then open the truffle-config.js file, look for :

development: {
      host: "127.0.0.1", // Localhost (default: none)
      port: 9545, // 9545 for truffle develop // 8545 Standard Ethereum port (default: none)
      network_id: "*", // Any network (default: none)
    },

replace with :

development: {
      host: "127.0.0.1", // Localhost (default: none)
      port: 8545, // 9545 for truffle develop // 8545 Standard Ethereum port (default: none)
      network_id: "*", // Any network (default: none)
    },

Open another terminal and run :

$ truffle test