Allocator.sol to distribute tokens/ETH at a predefined ratio to a number of addresses.
Allows the community to send funds to a neutral token distributor.
packages/hardhat/scripts/deployAllocator.js
to change the Governor addressyarn account
and sending ETH to it.)hardhat.config.js
and app.jsxhttps://github.com/austintgriffith/scaffold-eth/tree/simple-nft-example to use
localhostinstead of
mainnet`.in a second terminal window:
in a third terminal window:
deploy.js
in packages/hardhat/scripts
Allocator.sol
in packages/hardhat/contracts
ExampleToken.sol
in packages/hardhat/contracts
App.jsx
in packages/react-app/src
Allocations.jsx
in packages/react-app/src/views
Distributions.jsx
in packages/react-app/src/views
deploy.js
in packages/hardhat/scripts