Skip to content

DOSNetwork/hackathon-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

  • $ npm -g install truffle
  • $ npm install -g ganache-cli

Compile:

  • $ truffle compile --all

Deploy:

  • Add testnet config in truffle-config.js then $ truffle migrate --reset
  • Or using Remix.

Examples:

Connecting external data feeds to smart contracts:
  • CoingeckoEthUsd.sol: Get ETH/USD spot price from Coingecko.com through DOS Network decentralized oracle. (deployed contract)
Providing safe & distributed random numbers to smart contracts:
  • SimpleDice.sol: Roll a dice using secure, unpreditable, off-chain generated distributed random numbers by DOS Network decentralized oracle. deployed contract

Docs:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published