Skip to content

Commit

Permalink
Merge pull request #95 from hackdays-io/add_ens_task
Browse files Browse the repository at this point in the history
新しくサブドメインを登録するためのタスクファイルとそのためのヘルパーメソッドを追加しました。
  • Loading branch information
yu23ki14 authored Sep 24, 2024
2 parents a2214bb + 4febef9 commit b07a57a
Show file tree
Hide file tree
Showing 7 changed files with 816 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,9 @@ These solutions were combined with ideas from [Hats Protocol](https://www.hatspr
```bash
yarn contract getContractAddress --contract Lock --network sepolia
```
- #### **resiger new subdomain to `toban.eth`**
```bash
yarn contract registerSubdomain --label <your label> --network sepolia
```
2 changes: 1 addition & 1 deletion pkgs/contract/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const {
// タスクファイルを読み込むための設定
const SKIP_LOAD = process.env.SKIP_LOAD === "true";
if (!SKIP_LOAD) {
const taskPaths = ["", "utils"];
const taskPaths = ["", "utils", "ens"];
taskPaths.forEach((folder) => {
const tasksPath = path.join(__dirname, "tasks", folder);
fs.readdirSync(tasksPath)
Expand Down
Loading

0 comments on commit b07a57a

Please sign in to comment.