No description
  • JavaScript 57.2%
  • HTML 22.2%
  • Solidity 12.4%
  • CSS 8.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2021-04-03 23:56:51 +02:00
app First commit 2021-04-03 23:56:51 +02:00
contracts First commit 2021-04-03 23:56:51 +02:00
migrations First commit 2021-04-03 23:56:51 +02:00
test First commit 2021-04-03 23:56:51 +02:00
.gitignore First commit 2021-04-03 23:56:51 +02:00
index.html First commit 2021-04-03 23:56:51 +02:00
LICENSE First commit 2021-04-03 23:56:51 +02:00
package-lock.json First commit 2021-04-03 23:56:51 +02:00
package.json First commit 2021-04-03 23:56:51 +02:00
README.md First commit 2021-04-03 23:56:51 +02:00
server.js First commit 2021-04-03 23:56:51 +02:00
truffle-config.js First commit 2021-04-03 23:56:51 +02:00
webpack.config.js First commit 2021-04-03 23:56:51 +02:00

StarChain DAPP

In this project I deployed a unfungible token contract (ERC721) on the Ethereum Rinkeby network.
I also develop a minimalist Front End to interact with the main functions of the contract:
The user can then register a new stars that will be stored as an ERC721 token on the blockchain, or look up for existing ones..

Getting started

Prerequesites: You will need Metamask and an Infura account.

  1. Clone or download this repository
  2. Install dependencies
cd starChainV2
npm install # will install truffle-hdwallet-provider
cd app
npm install # will install all other dependencies (web3, openzeppelin...)
cd ..
  1. Run tests:
truffle develop
truffle(develop)> test
  1. Metamask:
  • Connect to the Rinkeby network.
  • Look for your mnemonic passphrase in "settings"
  1. Write your Metamask mnemonic in a .secret file and save it in starChainV2/
  2. Infura: write your Infura Project ID key in a .infuraKey file and save it in starChainV2/
  3. Serve Front End:
cd app
npm run dev
  1. Access Front End at http://localhost:8080

Contract and token details

  • ERC-721 Token Name: Gry0u Token
  • ERC-721 Token Symbol: GRT
  • “Token Address” on the Rinkeby Network: 0xfC435ceBdF28250D4f3920d713F9737c12E3823f
  • Test ERC 721 token creation

Deployed front end client

Resources

  • Truffle: smart contracts and DAPP development framework.
  • npm
  • Infura: API to access remote Ethereum nodes
  • Metamask: browser add-in to interact with the JavaScript Ethereum API Web3.