├── .gitignore ├── README.md ├── click2earn ├── README.md ├── device │ ├── .gitignore │ ├── README.md │ ├── include │ │ └── README │ ├── lib │ │ └── README │ ├── platformio.ini │ ├── src │ │ └── main.cpp │ └── test │ │ └── README ├── smartcontract │ ├── ExampleToken.sol │ └── W3BStream ERC20.json └── wasm │ ├── assemblyscript │ ├── asconfig.json │ ├── assembly │ │ ├── index.ts │ │ └── tsconfig.json │ ├── build │ │ ├── click2earn.d.ts │ │ ├── click2earn.js │ │ ├── click2earn.wasm │ │ ├── click2earn.wasm.map │ │ └── release.wat │ ├── index.html │ ├── package-lock.json │ ├── package.json │ └── tests │ │ └── index.js │ └── golang │ ├── Makefile │ ├── click2earn.go │ ├── click2earn.wasm │ ├── go.mod │ └── go.sum ├── device-proof ├── README.md ├── device │ ├── .gitignore │ ├── include │ │ └── README │ ├── lib │ │ └── README │ ├── platformio.ini │ ├── src │ │ └── main.cpp │ └── test │ │ └── README ├── smartcontract │ ├── ExampleToken.sol │ └── W3BStream ERC20.json └── wasm │ ├── Makefile │ ├── device-proof-applet.go │ ├── device-proof-applet.wasm │ ├── go.mod │ └── go.sum ├── helium ├── HeliumW3bstreamExample.ino ├── README.md ├── add-device-helium.png ├── add-device-to-w3bstream.png ├── create-project-w3bstream.png ├── create-w3bstream-api-key.png ├── helium-debug-console.png ├── helium-decoder.png ├── helium-flow.png ├── http-request.png ├── serial-console.png ├── template-body.png └── w3bstream-log.png ├── identity-binding ├── Makefile ├── README.md ├── contracts │ ├── DeviceBinding.sol │ ├── DevicesRegistry.sol │ ├── WalkToEarn.sol │ └── interfaces │ │ └── IDevicesRegistry.sol ├── hardhat.config.js ├── package-lock.json ├── package.json └── scripts │ ├── config.js │ └── deploy.js ├── points-nft ├── README.md ├── smartcontract │ ├── ExampleERC721.sol │ └── W3BStream NFT.json └── wasm │ ├── Makefile │ ├── go.mod │ ├── go.sum │ ├── points-nft.go │ └── points-nft.wasm ├── points-token ├── README.md ├── smartcontract │ ├── ExampleToken.sol │ └── W3BStream ERC20.json ├── w3bstream.ini └── wasm │ ├── Makefile │ ├── go.mod │ ├── go.sum │ ├── points-token.go │ └── points-token.wasm ├── simple-smart-grid ├── blockchain │ ├── Makefile │ ├── contracts │ │ ├── DeviceBinding.sol │ │ ├── DevicesRegistry.sol │ │ ├── ECOToken.sol │ │ ├── interfaces │ │ │ └── IDevicesRegistry.sol │ │ └── topics.txt │ ├── hardhat.config.js │ ├── package-lock.json │ ├── package.json │ └── scripts │ │ ├── config.js │ │ └── deploy.js ├── raspberry_pi │ ├── CMakeLists.txt │ ├── README.md │ ├── background.jpeg │ ├── base64.hpp │ ├── display.py │ ├── ina219 │ │ ├── Makefile │ │ ├── README.md │ │ ├── profiler.cc │ │ └── src │ │ │ ├── ina219.cc │ │ │ └── ina219.h │ ├── install-requirements.sh │ ├── install.sh │ ├── keccak256 │ │ ├── keccak256.cpp │ │ └── keccak256.hpp │ ├── main.cpp │ ├── power-meter-backend.service │ ├── power-meter-display.service │ ├── rebuild-restart.sh │ ├── requirements.txt │ └── uninstall.sh ├── simulator │ ├── config.js │ ├── config.ts │ ├── index.ts │ ├── package-lock.json │ ├── package.json │ ├── private.key │ └── tsconfig.json └── w3bstream │ ├── asconfig.json │ ├── assembly │ ├── constants.ts │ ├── index.ts │ ├── messages │ │ ├── data_message.json │ │ └── process_rewards_message.json │ ├── notes.ts │ ├── tsconfig.json │ └── utils.ts │ ├── index.html │ ├── package-lock.json │ ├── package.json │ ├── signature-check.ts │ └── tests │ └── index.js └── walk2earn ├── .gitignore ├── Makefile ├── README.md ├── blockchain ├── .env.template ├── Makefile ├── contracts │ ├── DeviceBinding.sol │ ├── DevicesRegistry.sol │ ├── StepToken.sol │ ├── WalkToEarn.sol │ └── interfaces │ │ └── IDevicesRegistry.sol ├── hardhat.config.js ├── package-lock.json ├── package.json └── scripts │ ├── config.js │ └── deploy.js ├── firmware └── Arduino │ └── walktoearn-nano33iot │ ├── secrets_template.h │ └── sketch_nano_33_iot_steps.ino └── w3bstream ├── Cargo.lock ├── Cargo.toml ├── Makefile └── src ├── abi.rs ├── lib.rs ├── sdk.rs └── types.rs /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/README.md -------------------------------------------------------------------------------- /click2earn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/README.md -------------------------------------------------------------------------------- /click2earn/device/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/.gitignore -------------------------------------------------------------------------------- /click2earn/device/README.md: -------------------------------------------------------------------------------- 1 | # click2earn example 2 | -------------------------------------------------------------------------------- /click2earn/device/include/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/include/README -------------------------------------------------------------------------------- /click2earn/device/lib/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/lib/README -------------------------------------------------------------------------------- /click2earn/device/platformio.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/platformio.ini -------------------------------------------------------------------------------- /click2earn/device/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/src/main.cpp -------------------------------------------------------------------------------- /click2earn/device/test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/device/test/README -------------------------------------------------------------------------------- /click2earn/smartcontract/ExampleToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/smartcontract/ExampleToken.sol -------------------------------------------------------------------------------- /click2earn/smartcontract/W3BStream ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/smartcontract/W3BStream ERC20.json -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/asconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/asconfig.json -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/assembly/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/assembly/index.ts -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/assembly/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/assembly/tsconfig.json -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/build/click2earn.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/build/click2earn.d.ts -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/build/click2earn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/build/click2earn.js -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/build/click2earn.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/build/click2earn.wasm -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/build/click2earn.wasm.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/build/click2earn.wasm.map -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/build/release.wat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/build/release.wat -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/index.html -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/package-lock.json -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/package.json -------------------------------------------------------------------------------- /click2earn/wasm/assemblyscript/tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/assemblyscript/tests/index.js -------------------------------------------------------------------------------- /click2earn/wasm/golang/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/golang/Makefile -------------------------------------------------------------------------------- /click2earn/wasm/golang/click2earn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/golang/click2earn.go -------------------------------------------------------------------------------- /click2earn/wasm/golang/click2earn.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/golang/click2earn.wasm -------------------------------------------------------------------------------- /click2earn/wasm/golang/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/golang/go.mod -------------------------------------------------------------------------------- /click2earn/wasm/golang/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/click2earn/wasm/golang/go.sum -------------------------------------------------------------------------------- /device-proof/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/README.md -------------------------------------------------------------------------------- /device-proof/device/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/.gitignore -------------------------------------------------------------------------------- /device-proof/device/include/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/include/README -------------------------------------------------------------------------------- /device-proof/device/lib/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/lib/README -------------------------------------------------------------------------------- /device-proof/device/platformio.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/platformio.ini -------------------------------------------------------------------------------- /device-proof/device/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/src/main.cpp -------------------------------------------------------------------------------- /device-proof/device/test/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/device/test/README -------------------------------------------------------------------------------- /device-proof/smartcontract/ExampleToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/smartcontract/ExampleToken.sol -------------------------------------------------------------------------------- /device-proof/smartcontract/W3BStream ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/smartcontract/W3BStream ERC20.json -------------------------------------------------------------------------------- /device-proof/wasm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/wasm/Makefile -------------------------------------------------------------------------------- /device-proof/wasm/device-proof-applet.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/wasm/device-proof-applet.go -------------------------------------------------------------------------------- /device-proof/wasm/device-proof-applet.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/wasm/device-proof-applet.wasm -------------------------------------------------------------------------------- /device-proof/wasm/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/wasm/go.mod -------------------------------------------------------------------------------- /device-proof/wasm/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/device-proof/wasm/go.sum -------------------------------------------------------------------------------- /helium/HeliumW3bstreamExample.ino: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/HeliumW3bstreamExample.ino -------------------------------------------------------------------------------- /helium/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/README.md -------------------------------------------------------------------------------- /helium/add-device-helium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/add-device-helium.png -------------------------------------------------------------------------------- /helium/add-device-to-w3bstream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/add-device-to-w3bstream.png -------------------------------------------------------------------------------- /helium/create-project-w3bstream.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/create-project-w3bstream.png -------------------------------------------------------------------------------- /helium/create-w3bstream-api-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/create-w3bstream-api-key.png -------------------------------------------------------------------------------- /helium/helium-debug-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/helium-debug-console.png -------------------------------------------------------------------------------- /helium/helium-decoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/helium-decoder.png -------------------------------------------------------------------------------- /helium/helium-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/helium-flow.png -------------------------------------------------------------------------------- /helium/http-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/http-request.png -------------------------------------------------------------------------------- /helium/serial-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/serial-console.png -------------------------------------------------------------------------------- /helium/template-body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/template-body.png -------------------------------------------------------------------------------- /helium/w3bstream-log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/helium/w3bstream-log.png -------------------------------------------------------------------------------- /identity-binding/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/Makefile -------------------------------------------------------------------------------- /identity-binding/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/README.md -------------------------------------------------------------------------------- /identity-binding/contracts/DeviceBinding.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/contracts/DeviceBinding.sol -------------------------------------------------------------------------------- /identity-binding/contracts/DevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/contracts/DevicesRegistry.sol -------------------------------------------------------------------------------- /identity-binding/contracts/WalkToEarn.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/contracts/WalkToEarn.sol -------------------------------------------------------------------------------- /identity-binding/contracts/interfaces/IDevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/contracts/interfaces/IDevicesRegistry.sol -------------------------------------------------------------------------------- /identity-binding/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/hardhat.config.js -------------------------------------------------------------------------------- /identity-binding/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/package-lock.json -------------------------------------------------------------------------------- /identity-binding/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/package.json -------------------------------------------------------------------------------- /identity-binding/scripts/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/scripts/config.js -------------------------------------------------------------------------------- /identity-binding/scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/identity-binding/scripts/deploy.js -------------------------------------------------------------------------------- /points-nft/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/README.md -------------------------------------------------------------------------------- /points-nft/smartcontract/ExampleERC721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/smartcontract/ExampleERC721.sol -------------------------------------------------------------------------------- /points-nft/smartcontract/W3BStream NFT.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/smartcontract/W3BStream NFT.json -------------------------------------------------------------------------------- /points-nft/wasm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/wasm/Makefile -------------------------------------------------------------------------------- /points-nft/wasm/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/wasm/go.mod -------------------------------------------------------------------------------- /points-nft/wasm/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/wasm/go.sum -------------------------------------------------------------------------------- /points-nft/wasm/points-nft.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/wasm/points-nft.go -------------------------------------------------------------------------------- /points-nft/wasm/points-nft.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-nft/wasm/points-nft.wasm -------------------------------------------------------------------------------- /points-token/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/README.md -------------------------------------------------------------------------------- /points-token/smartcontract/ExampleToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/smartcontract/ExampleToken.sol -------------------------------------------------------------------------------- /points-token/smartcontract/W3BStream ERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/smartcontract/W3BStream ERC20.json -------------------------------------------------------------------------------- /points-token/w3bstream.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/w3bstream.ini -------------------------------------------------------------------------------- /points-token/wasm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/wasm/Makefile -------------------------------------------------------------------------------- /points-token/wasm/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/wasm/go.mod -------------------------------------------------------------------------------- /points-token/wasm/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/wasm/go.sum -------------------------------------------------------------------------------- /points-token/wasm/points-token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/wasm/points-token.go -------------------------------------------------------------------------------- /points-token/wasm/points-token.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/points-token/wasm/points-token.wasm -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/Makefile -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/contracts/DeviceBinding.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/contracts/DeviceBinding.sol -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/contracts/DevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/contracts/DevicesRegistry.sol -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/contracts/ECOToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/contracts/ECOToken.sol -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/contracts/interfaces/IDevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/contracts/interfaces/IDevicesRegistry.sol -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/contracts/topics.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/contracts/topics.txt -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/hardhat.config.js -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/package-lock.json -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/package.json -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/scripts/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/scripts/config.js -------------------------------------------------------------------------------- /simple-smart-grid/blockchain/scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/blockchain/scripts/deploy.js -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/CMakeLists.txt -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/README.md -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/background.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/background.jpeg -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/base64.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/base64.hpp -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/display.py -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/ina219/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/ina219/Makefile -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/ina219/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/ina219/README.md -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/ina219/profiler.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/ina219/profiler.cc -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/ina219/src/ina219.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/ina219/src/ina219.cc -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/ina219/src/ina219.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/ina219/src/ina219.h -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/install-requirements.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/install-requirements.sh -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/install.sh -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/keccak256/keccak256.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/keccak256/keccak256.cpp -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/keccak256/keccak256.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/keccak256/keccak256.hpp -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/main.cpp -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/power-meter-backend.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/power-meter-backend.service -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/power-meter-display.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/power-meter-display.service -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/rebuild-restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/rebuild-restart.sh -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/requirements.txt -------------------------------------------------------------------------------- /simple-smart-grid/raspberry_pi/uninstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/raspberry_pi/uninstall.sh -------------------------------------------------------------------------------- /simple-smart-grid/simulator/config.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | -------------------------------------------------------------------------------- /simple-smart-grid/simulator/config.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simple-smart-grid/simulator/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/simulator/index.ts -------------------------------------------------------------------------------- /simple-smart-grid/simulator/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/simulator/package-lock.json -------------------------------------------------------------------------------- /simple-smart-grid/simulator/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/simulator/package.json -------------------------------------------------------------------------------- /simple-smart-grid/simulator/private.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/simulator/private.key -------------------------------------------------------------------------------- /simple-smart-grid/simulator/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/simulator/tsconfig.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/asconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/asconfig.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/constants.ts -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/index.ts -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/messages/data_message.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/messages/data_message.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/messages/process_rewards_message.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/messages/process_rewards_message.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/notes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/notes.ts -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/tsconfig.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/assembly/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/assembly/utils.ts -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/index.html -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/package-lock.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/package.json -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/signature-check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/signature-check.ts -------------------------------------------------------------------------------- /simple-smart-grid/w3bstream/tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/simple-smart-grid/w3bstream/tests/index.js -------------------------------------------------------------------------------- /walk2earn/.gitignore: -------------------------------------------------------------------------------- 1 | docker 2 | **/secrets.h -------------------------------------------------------------------------------- /walk2earn/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/Makefile -------------------------------------------------------------------------------- /walk2earn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/README.md -------------------------------------------------------------------------------- /walk2earn/blockchain/.env.template: -------------------------------------------------------------------------------- 1 | IOTEX_PRIVATE_KEY=0x...your_testnet_private_key 2 | -------------------------------------------------------------------------------- /walk2earn/blockchain/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/Makefile -------------------------------------------------------------------------------- /walk2earn/blockchain/contracts/DeviceBinding.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/contracts/DeviceBinding.sol -------------------------------------------------------------------------------- /walk2earn/blockchain/contracts/DevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/contracts/DevicesRegistry.sol -------------------------------------------------------------------------------- /walk2earn/blockchain/contracts/StepToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/contracts/StepToken.sol -------------------------------------------------------------------------------- /walk2earn/blockchain/contracts/WalkToEarn.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/contracts/WalkToEarn.sol -------------------------------------------------------------------------------- /walk2earn/blockchain/contracts/interfaces/IDevicesRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/contracts/interfaces/IDevicesRegistry.sol -------------------------------------------------------------------------------- /walk2earn/blockchain/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/hardhat.config.js -------------------------------------------------------------------------------- /walk2earn/blockchain/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/package-lock.json -------------------------------------------------------------------------------- /walk2earn/blockchain/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/package.json -------------------------------------------------------------------------------- /walk2earn/blockchain/scripts/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/scripts/config.js -------------------------------------------------------------------------------- /walk2earn/blockchain/scripts/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/blockchain/scripts/deploy.js -------------------------------------------------------------------------------- /walk2earn/firmware/Arduino/walktoearn-nano33iot/secrets_template.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/firmware/Arduino/walktoearn-nano33iot/secrets_template.h -------------------------------------------------------------------------------- /walk2earn/firmware/Arduino/walktoearn-nano33iot/sketch_nano_33_iot_steps.ino: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/firmware/Arduino/walktoearn-nano33iot/sketch_nano_33_iot_steps.ino -------------------------------------------------------------------------------- /walk2earn/w3bstream/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/Cargo.lock -------------------------------------------------------------------------------- /walk2earn/w3bstream/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/Cargo.toml -------------------------------------------------------------------------------- /walk2earn/w3bstream/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/Makefile -------------------------------------------------------------------------------- /walk2earn/w3bstream/src/abi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/src/abi.rs -------------------------------------------------------------------------------- /walk2earn/w3bstream/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/src/lib.rs -------------------------------------------------------------------------------- /walk2earn/w3bstream/src/sdk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/src/sdk.rs -------------------------------------------------------------------------------- /walk2earn/w3bstream/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/machinefi/w3bstream-examples/HEAD/walk2earn/w3bstream/src/types.rs --------------------------------------------------------------------------------