A monorepo app for distributing BTC miner investments with smart contracts
app/
: A Next.js React web app.eth-backend/
: A truffle-based solidity contract deployer.
I am seriously excited about smart-contract technology, this is an amazing area with limitless potential. I am also tired of hearing it applied to what basically amounts to another way to mint Non-Fungible Tokens (NFTs) and sell them to clueless punters.
Because of this, I have been on the lookout for use-cases to apply it to, and when I heard about BTC miners wanting to distribute their mining profits on the basis of a smart contract I got super excited. This is a perfect domain to use smart contracts on, and the implications of a successful prototype apply to a lot of shared-investment use-cases. Company dividend distributions, syndicated property rentals, bonds etc etc. Wow!
Please install Ganache and check it works properly.
It should create an ETH node running in http://localhost:7545 and open up a UI like this:
Install Node.js v16, then run the following commands via Bash or similar CLI
$ node -v
16.13.2
$ npm -v
8.1.2
$ npm install --workspaces
$ npm test --workspaces