A decentralized house listing service.
- clone repo & cd the repo folder
- install modules:
npm i
- cd the ethereum contracts folder:
cd eth-contracts/
- compile contracts:
truffle compile
- in second terminal run ganache:
ganache-cli
- in the first terminal to run all tests:
truffle test
-
create a project and get your projectId from Infura: https://infura.io
-
setup rinkeby configurations in truffle-config:
- require HDWalletProvider
- set your mnemonic metamask seed
- set your infuraKey
-
migrate to rinkeby network:
truffle migrate --network rinkeby
-
finding your token on etherscan: https://rinkeby.etherscan.io/token/<contract_address> https://rinkeby.etherscan.io/token/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E
- mint 10 tokens using MEW: https://www.myetherwallet.com/
- openSea marketPlace storefront link: https://rinkeby.opensea.io/assets/test-erc721-token
- view token on opensea: https://rinkeby.opensea.io/assets/<contract_address>/<token_id> https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/1
- view 5 purchased tokens:
https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/1 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/2 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/3 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/4 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/5
- view other 5 non purchased tokens:
https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/6 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/7 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/8 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/9 https://rinkeby.opensea.io/assets/0x9D8A4dEf5eFdF0589E1B7cFD9969C772322C035E/10