Coder Social home page Coder Social logo

weigold's Introduction

WeiGold: Fair Value Commodities Vending Machine

WeiGold ensures fair, transparent vending for physical gold, silver and oil
based on Chainlink's commodities pricefeed aggregators.

WeiGold Youtube presentation with demo [https://www.youtube.com/watch?v=nxwqg_YGh0c]:
Watch the video

WeiGold's structure:
Overview_Structure

Hardware used:
-Raspberry Pi 4 [Quantity: 1]
-S90 Servo Motors [Quantity: 3]
-A cardboard box [Quantity: 1]

Wiring diagram:
Wiring

Instructions:
1a.Install web3.js and pi-blaster.js with Node.js on wired Raspberry Pi 4
1b.web3.js: npm install web3
1c.pi-blaster.js: Build and install directly from source: https://github.com/sarfata/pi-blaster
2.Have the "HardwareServoControl.js" script running on the wired Raspberry Pi 4
3.Connect to site with Metamask on Rinkeby [make sure you have some free Rinkeby Ethereum to modify contract states]
(you can create your own custom contract by redeploying on Remix and changing address and ABI for FrontEnd and Servo scripts)
4.Interact with the contract and watch the servos move based on contract State!

Contract source code published at deployed Rinkeby address with Etherscan:
https://rinkeby.etherscan.io/address/0x44f3e9288682385e08433db8e95b2aab9075dd83#code

Live site on IPFS+Filecoin with Fleek [if IPFS gateway goes down, use another IPFS gateway, use Github pages [https://marcuswentz.github.io/WeiGold/index.html?] or run locally]:
https://weigold.on.fleek.co/index.html?

Solo project by Marcus Wentz.

Chainlink Hackathon Fall 2021.

weigold's People

Contributors

marcuswentz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.