Repo created for bounty participation @ ERC 721 Smart Contract
|
3 years ago | |
---|---|---|
contracts | 3 years ago | |
migrations | 3 years ago | |
Readme.md | 3 years ago | |
client.js | 3 years ago | |
modex.ini | 3 years ago | |
oracle.js | 3 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
run.sh | 3 years ago | |
truffle-config.js | 3 years ago | |
truffle.js | 3 years ago |
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
Install truffle and the ethereumjs-testrpc:
npm install -g truffle ethereumjs-testrpc
Install the dependencies required:
npm install
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
git checkout -b feature/fooBar
)git commit -am 'Add some fooBar'
)git push origin feature/fooBar
)