diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 89d5a1d..56ea4e9 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: git fetch --depth=1 origin "$GITHUB_SHA" git checkout -q FETCH_HEAD - # The fai-module-sdk dependency is a git dep against a repo + # The chain-module-sdk dependency is a git dep against a repo # that lives in another Forgejo org. The repo-scoped # GITHUB_TOKEN cannot read it, and the Forgejo instance has # REQUIRE_SIGNIN_VIEW=true so anonymous read is also denied. diff --git a/.forgejo/workflows/sign.yml b/.forgejo/workflows/sign.yml index 5371870..d20e4ba 100644 --- a/.forgejo/workflows/sign.yml +++ b/.forgejo/workflows/sign.yml @@ -56,7 +56,7 @@ jobs: git fetch --depth=1 origin "$GITHUB_SHA" git checkout -q FETCH_HEAD - # The fai-module-sdk dependency lives in another Forgejo org + # The chain-module-sdk dependency lives in another Forgejo org # behind REQUIRE_SIGNIN_VIEW. MODULE_SDK_PAT (org-level # secret, read-only on fai/module-sdk) authenticates cargo's # git fetch via insteadOf. diff --git a/README.md b/README.md index f739e92..018dc16 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ cargo test # host-side unit + integration tests fai test . # load the wasm component in the runtime sandbox ``` -## Authoring with fai-module-sdk +## Authoring with chain-module-sdk The module body is one decorated function: @@ -29,12 +29,12 @@ pub fn invoke(_ctx: Context, inputs: Inputs) -> Result { The macro hides the wit_bindgen call, the Guest impl, the Payload variant matching, and the `wit_bindgen::export!` -invocation. See `fai-module-sdk` documentation for the full +invocation. See `chain-module-sdk` documentation for the full surface. ## SDK source -The Cargo.toml git-deps `fai-module-sdk` from +The Cargo.toml git-deps `chain-module-sdk` from `https://git.flemming.ws/fai/module-sdk.git`. If your environment requires authentication for that host (e.g. Forgejo with `REQUIRE_SIGNIN_VIEW=true`), set up `git config insteadOf` with