Skip to content

Commit

Permalink
feat: add attestation schema for base
Browse files Browse the repository at this point in the history
  • Loading branch information
dawksh committed Sep 28, 2024
1 parent 56ac898 commit 2505b3d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Deployed to: 0x4E2D12318497D8f41F010C1382cD82ae5BFBF4FE
Transaction hash: 0x68fe9512b386273cd15ca113917de14b52d06c6ffead78db335fa66d67fb9894
```

> Attestation Schema
> `0xfbc26d3c37ca199bc179d8435136dcc80e21868b0cef014feef696fc23cdb605`
### Optimism Sepolia

> Nebula Protocol
Expand Down
8 changes: 6 additions & 2 deletions script/NebulaClean.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ pragma solidity ^0.8.13;
import "forge-std/Script.sol";
import "../src/NebulaRegistry.sol";
import {Nebula} from "../src/Nebula.sol";
import {EASNebulaResolver} from "../src/EASNebulaResolver.sol";
import {IEAS, Attestation} from "eas-contracts/IEAS.sol";

contract NebulaClean is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
address eas = address(0);
IEAS eas = IEAS(0x4200000000000000000000000000000000000021);
bytes32 easSchema = bytes32(0);

EASNebulaResolver easResolver = new EASNebulaResolver(eas);

NebulaRegistry registry = new NebulaRegistry();

Nebula nebula = new Nebula(address(registry), eas, easSchema);
Nebula nebula = new Nebula(address(registry), address(eas), easSchema);

vm.stopBroadcast();
}
Expand Down

0 comments on commit 2505b3d

Please sign in to comment.