Repo created for bounty participation @ ERC 721 Smart Contract

sh.onu872 d5676727d0 Initial commit 1 year ago
contracts d5676727d0 Initial commit 1 year ago
migrations d5676727d0 Initial commit 1 year ago
Readme.md d5676727d0 Initial commit 1 year ago
client.js d5676727d0 Initial commit 1 year ago
modex.ini d5676727d0 Initial commit 1 year ago
oracle.js d5676727d0 Initial commit 1 year ago
package-lock.json d5676727d0 Initial commit 1 year ago
package.json d5676727d0 Initial commit 1 year ago
run.sh d5676727d0 Initial commit 1 year ago
truffle-config.js d5676727d0 Initial commit 1 year ago
truffle.js d5676727d0 Initial commit 1 year ago

Readme.md

ERC 721 Smart Contract

ERC-721 defines a minimum interface a smart contract must implement to allow unique tokens to be managed, owned, and traded. It does not mandate a standard for token metadata or restrict adding supplemental functions.

Hi, this is a boilerplate project with a demo app inside it that fetches trough an oracle the exchange rate between the RON and USD, it's made to help you understand how you could bring external data into the blockchain.

Inside you will find a truffle project and a modex.ini file that will help analyze the code that you are writing

Installation

Install truffle and the ethereumjs-testrpc:

npm install -g truffle ethereumjs-testrpc

Install the dependencies required:

npm install

Development setup

Start the test net:

testrpc

Compile the project:

truffle compile

Migrate the oracle:

truffle migrate

Start the oracle:

node oracle.js

Run the client(in this case you would want to start more than one instance)

node client.js

Release History

  • 0.0.1
    • Initial commit

Contributing or working in teams

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request