diff --git a/.eslintrc.js b/.eslintrc.js index a4704fc..5e25bc4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,9 +37,9 @@ module.exports = { "warn", { alphabetize: { order: "asc", caseInsensitive: true }, - pathGroups: [{ pattern: "@klaytn/**", group: "parent", position: "after" }], + pathGroups: [{ pattern: "@kaiachain/**", group: "parent", position: "after" }], "newlines-between": "always", - pathGroupsExcludedImportTypes: ["@klaytn/**"], + pathGroupsExcludedImportTypes: ["@kaiachain/**"], }, ], diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6a02083..f5391a0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,5 +33,5 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | - npx pnpm --filter "@klaytn/*" -r publish --publish-branch main --no-git-check --access=public + npx pnpm --filter "@kaiachain/*" -r publish --publish-branch main --no-git-check --access=public \ No newline at end of file diff --git a/README.md b/README.md index 8566dac..a9d0fc0 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,3 @@ -[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) - -# NO LONGER MAINTAINED - -> [!IMPORTANT] -> Since the launch of Kaia Blockchain this repository has been parked in favour of the new open-source projects in [Kaia's Github](https://github.com/kaiachain). Contributors have now moved there continuing with massive open-source contributions to our blockchain ecosystem. A big thank you to everyone who has contributed to this repository. -> -> For future development and contributions, please refer to the new [zkauth-sdk repository](https://github.com/kaiachain/zkauth-sdk). -> -> For more information about Klaytn's chain merge with Finschia blockchain please refer to the launching of Kaia blockchain - [kaia.io](https://kaia.io/). - ---- - # Account Abstraction SDK for zkAuth Wallet ## 1. Introduction @@ -20,7 +7,7 @@ This is a SDK for zkAuth wallet. It allows applications to interact with zkAuth ## 2. Installation ```sh -npm i @klaytn/zkauth-sdk +npm i @kaiachain/zkauth-sdk ``` ## 3. Usage @@ -72,7 +59,7 @@ Users can create their zkAuth wallet based on their OAuth2 idToken. 3. Deploy Wallet (Strongly recommended) - The AA wallet can be deployed by i) `Factory.createAccount` or ii) First `UserOp` with `initCode` in the transaction data. Since the owner address needs to be funded with KLAY for first method, it's recommended to use second method, which is more user-friendly. + The AA wallet can be deployed by i) `Factory.createAccount` or ii) First `UserOp` with `initCode` in the transaction data. Since the owner address needs to be funded with KAIA for first method, it's recommended to use second method, which is more user-friendly. ```js const signer = new ethers.Wallet(ownerKey, JsonRpcProvider); @@ -280,7 +267,7 @@ If user wallet is `ghost` wallet, user can't recover it, so delete it and create // Note that subSigner is an optional signer which is owned by the service provider // The subSigner sends transaction on behalf of the user to improve user experience - // Without subSigner, user needs to fund KLAY to the new owner address + // Without subSigner, user needs to fund KAIA to the new owner address await scw.requestRecover(newOwnerAddress, auth, subSigner); } ... diff --git a/package-lock.json b/package-lock.json index 73f847d..7ae3aee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@klaytn/zkauth-sdk", + "name": "@kaiachain/zkauth-sdk", "version": "0.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@klaytn/zkauth-sdk", + "name": "@kaiachain/zkauth-sdk", "version": "0.1.0", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f05872e..9f0b394 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,17 @@ { - "name": "@klaytn/zkauth-sdk", + "name": "@kaiachain/zkauth-sdk", "version": "0.1.0", "license": "MIT", "description": "SDK for zkAuth wallet", "keywords": [ - "klaytn", + "kaiachain", + "kaia", "zkAuth", "zkAuth sdk" ], "repository": { "type": "git", - "url": "git+https://github.com/klaytn/zkauth-sdk" + "url": "git+https://github.com/kaiachain/zkauth-sdk" }, "main": "dist/index.js", "types": "dist/index.d.ts", @@ -61,11 +62,10 @@ "lodash": "^4.17.21" }, "bugs": { - "url": "https://github.com/klaytn/zkauth-sdk" + "url": "https://github.com/kaiachain/zkauth-sdk" }, - "homepage": "https://github.com/klaytn/zkauth-sdk#readme", + "homepage": "https://github.com/kaiachain/zkauth-sdk#readme", "directories": { "test": "test" } } -