Skip to content

Commit

Permalink
deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
Gajesh2007 committed May 15, 2024
1 parent dc443d8 commit e965543
Show file tree
Hide file tree
Showing 2,052 changed files with 962,502 additions and 449 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PRIVATE_KEY=your_private_key_here
RPC_URL=your_rpc_url_here
CONTRACT_ADDRESS=your_contract_address_here
REGISTRY_COORDINATOR_ADDRESS=your_registry_coordinator_address_here
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:14

WORKDIR /app

COPY package.json ./
COPY tsconfig.json ./
RUN npm install

COPY . .

CMD ["npm", "start"]
654 changes: 215 additions & 439 deletions contracts/script/HelloWorldDeployer.s.sol

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions contracts/src/HelloWorldServiceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ pragma solidity ^0.8.9;

import "@eigenlayer/contracts/libraries/BytesLib.sol";
import "@eigenlayer-middleware/src/ServiceManagerBase.sol";
import "@openzeppelin-upgrades/contracts/proxy/utils/Initializable.sol";
import "@openzeppelin-upgrades/contracts/access/OwnableUpgradeable.sol";
import "@openzeppelin-upgrades/contracts/utils/cryptography/ECDSAUpgradeable.sol";
import "@eigenlayer/contracts/permissions/Pausable.sol";
import {IRegistryCoordinator} from "@eigenlayer-middleware/src/interfaces/IRegistryCoordinator.sol";
Expand Down Expand Up @@ -63,14 +61,6 @@ contract HelloWorldServiceManager is
registryCoordinator = _registryCoordinator;
}

function initialize(
IPauserRegistry _pauserRegistry,
address initialOwner
) public initializer {
_initializePauser(_pauserRegistry, UNPAUSE_ALL);
_transferOwnership(initialOwner);
}


/* FUNCTIONS */
// NOTE: this function creates new task, assigns it a taskId
Expand Down
File renamed without changes.
61 changes: 61 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tsc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tsserver

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions node_modules/@adraffy/ens-normalize/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e965543

Please sign in to comment.