Skip to content

thehubdao/Metaverse-Valuations-Node-Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SampleCode

A bunch of sample contracts and scripts that can be used as inspiration to build on top of services we provide.

Repository Structure

This repo is structured like a truffle project. Here is a list of what each folder contains:
  • contracts/ : Actual Solidity code.
  • build/ : .json artifacts for all the contracts that this repo needs.
  • migrations/ : Deployment scripts for the contracts.
  • scripts/ : scripts for programatically interacting with contracts.

Dependencies

Other than truffle we the repo makes use of these packages:

  • @chainlink/contracts
  • @openzeppelin/contracts
To install them go to the root and type:

npm install @chainlink/contracts

npm install @openzeppelin/contracts

Guide for new developers

  1. Copy the contract code from the contracts/ folder.
  2. Paste the contract in a new file in remix workspace.
  3. compile the file with the specified compiler version.
  4. Select injected web3 to interact with the chain specified in your metamask.
  5. deploy the contract anew or paste an address and load it there.

Deployments

Sandbox Oracles:

Here are the most important infos about the Node, you can also check it out on the Chainlink Market

Mainnet:

Rinkeby:

Additional ressources

We use chainlink architecture for our oracle. For more information on Chainlink check out their docs under: https://docs.chain.link/

About

A bunch of sample contracts and scripts that can be used as inspiration to build on top of services we provide.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors