Skip to content

Commit

Permalink
Update deploy script to deploy Project
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideSilva committed Mar 13, 2024
1 parent f428009 commit 6ce02f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/contracts/script/DevDeploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {Script} from "lib/forge-std/src/Script.sol";

import {Citizend} from "contracts/token/Citizend.sol";
import {Staking} from "contracts/discovery/Staking.sol";
import {Project} from "contracts/discovery/Project.sol";

contract DevDeployScript is Script {
address alice = address(0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266);
Expand All @@ -26,6 +27,8 @@ contract DevDeployScript is Script {
Citizend citizend = new Citizend(alice);
Staking staking = new Staking(address(citizend));

Project project = new Project("token sale project", address(citizend), 1000, 1, address(0));

for (uint256 i; i < testAccounts.length; i++) {
address addr = testAccounts[i];
(bool success,) = addr.call{value: 10 ether}("");
Expand Down

0 comments on commit 6ce02f3

Please sign in to comment.