MonetaryCoin PreDistribution-DApp
A DAPP for interacting with the MonetaryCoin distribution contract
App Deployed to https://MonetaryCoin.io
Additional info
Core components
- LightWallet V3
- Web3.js Ethereum JavaScript API V1.0
- React-boilerplate as a wrapper of React JS, Redux, Saga, Reselect, ImmutableJS and more
- Ant Design React js components
- Webpack 3 - A bundler for javascript and friends.
- Many others, See package.json
API Providers
- Infura.io as JsonRPC provider (fallback for non-web3 browsers)
Features
- Distribution general info
- Commit to specific Window
- Withdraw token after window is closed
- Live Update from the blockchain
MonetaryCoin Distribution ABI
To initiate the contract we use
web3eth
Like all other network communication in the app, calls to erc20 contracts are done inside app/containers/Dashboard/saga.js
.
ERC20 Abi can be imported using
;
npm scripts for MonetaryCoin PreDistribution-DApp:
npm run build:dll
to build webpack DLL required for development.
npm run start
to start development mode. Go to http://localhost:3002 - changes will be reflected in realtime using hot module reloading.
npm run build
to create bundle for publishing
npm run generate
to create new components / containers using the generator.
For more documentation regarding the react setup see react-boiledplate docs or the official repo.
After build, webpack monitor will generate stats about bundle size:
License
This project is licensed under the MIT license, Copyright (c) 2018 The Monetary Foundation For more information see LICENSE.md
.