From 025f4a339d766c13749654bd069babd5f941a711 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 20:37:27 +0000 Subject: [PATCH 1/2] RELEASING: Releasing 15 package(s) Releases: @celo/celocli@9.0.0 @celo/contractkit@11.0.0 @celo/wallet-ledger@8.0.4 @celo/connect@8.0.0 @celo/dev-utils@0.2.0 @celo/explorer@5.1.0 @celo/governance@5.1.10 @celo/transactions-uri@5.0.16 @celo/wallet-base@8.0.4 @celo/wallet-hsm-aws@8.0.4 @celo/wallet-hsm-azure@8.0.4 @celo/wallet-hsm-gcp@8.0.4 @celo/wallet-local@8.0.4 @celo/wallet-remote@8.0.4 @celo/wallet-hsm@8.0.4 [skip ci] --- .../celocli-governance-approve-flags.md | 11 ---- .../celocli-governance-propose-simulate.md | 9 --- .changeset/contractkit-submit-transaction.md | 5 -- .changeset/fix-ledger-console-noise.md | 5 -- .changeset/open-donkeys-nail.md | 6 -- .changeset/remove-delegate-debug-logs.md | 5 -- .../remove-mento-reserve-repoint-stables.md | 9 --- .changeset/remove-rpc-contract-promievent.md | 25 -------- .changeset/remove-web3-shim.md | 10 --- .changeset/strong-typing-contractkit.md | 5 -- .changeset/viem-native-migration.md | 12 ---- packages/cli/CHANGELOG.md | 61 +++++++++++++++++++ packages/cli/package.json | 16 ++--- packages/dev-utils/CHANGELOG.md | 30 +++++++++ packages/dev-utils/package.json | 4 +- packages/sdk/connect/CHANGELOG.md | 34 +++++++++++ packages/sdk/connect/package.json | 2 +- packages/sdk/contractkit/CHANGELOG.md | 51 ++++++++++++++++ packages/sdk/contractkit/package.json | 6 +- packages/sdk/explorer/CHANGELOG.md | 19 ++++++ packages/sdk/explorer/package.json | 6 +- packages/sdk/governance/CHANGELOG.md | 11 ++++ packages/sdk/governance/package.json | 8 +-- packages/sdk/transactions-uri/CHANGELOG.md | 7 +++ packages/sdk/transactions-uri/package.json | 6 +- packages/sdk/wallets/wallet-base/CHANGELOG.md | 7 +++ packages/sdk/wallets/wallet-base/package.json | 4 +- .../sdk/wallets/wallet-hsm-aws/CHANGELOG.md | 10 +++ .../sdk/wallets/wallet-hsm-aws/package.json | 10 +-- .../sdk/wallets/wallet-hsm-azure/CHANGELOG.md | 10 +++ .../sdk/wallets/wallet-hsm-azure/package.json | 10 +-- .../sdk/wallets/wallet-hsm-gcp/CHANGELOG.md | 10 +++ .../sdk/wallets/wallet-hsm-gcp/package.json | 10 +-- packages/sdk/wallets/wallet-hsm/CHANGELOG.md | 2 + packages/sdk/wallets/wallet-hsm/package.json | 2 +- .../sdk/wallets/wallet-ledger/CHANGELOG.md | 11 ++++ .../sdk/wallets/wallet-ledger/package.json | 10 +-- .../sdk/wallets/wallet-local/CHANGELOG.md | 8 +++ .../sdk/wallets/wallet-local/package.json | 6 +- .../sdk/wallets/wallet-remote/CHANGELOG.md | 8 +++ .../sdk/wallets/wallet-remote/package.json | 6 +- 41 files changed, 332 insertions(+), 155 deletions(-) delete mode 100644 .changeset/celocli-governance-approve-flags.md delete mode 100644 .changeset/celocli-governance-propose-simulate.md delete mode 100644 .changeset/contractkit-submit-transaction.md delete mode 100644 .changeset/fix-ledger-console-noise.md delete mode 100644 .changeset/open-donkeys-nail.md delete mode 100644 .changeset/remove-delegate-debug-logs.md delete mode 100644 .changeset/remove-mento-reserve-repoint-stables.md delete mode 100644 .changeset/remove-rpc-contract-promievent.md delete mode 100644 .changeset/remove-web3-shim.md delete mode 100644 .changeset/strong-typing-contractkit.md delete mode 100644 .changeset/viem-native-migration.md diff --git a/.changeset/celocli-governance-approve-flags.md b/.changeset/celocli-governance-approve-flags.md deleted file mode 100644 index d6b4b8e332..0000000000 --- a/.changeset/celocli-governance-approve-flags.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@celo/celocli': minor ---- - -Add new flags to `governance:approve` command for better multisig transaction control: - -- `--submit`: Force submission of approval transaction to multisig without checking for prior confirmations onchain. Use with caution - this bypasses the check for existing submissions. Example: `celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --submit` - -- `--multisigTx`: Specify exact multisig transaction ID to confirm, rather than searching onchain. Useful when you know the transaction ID from offchain sources. Example: `celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --multisigTx 5` - -Both flags depend on `--proposalID` and `--useMultiSig` being provided. diff --git a/.changeset/celocli-governance-propose-simulate.md b/.changeset/celocli-governance-propose-simulate.md deleted file mode 100644 index 0f475b293a..0000000000 --- a/.changeset/celocli-governance-propose-simulate.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@celo/celocli': minor ---- - -Add `--simulate` flag to `governance:propose` command to simulate proposal execution against a forked node (e.g. anvil) before submitting on-chain. - -Unlike the default `eth_call`-based simulation, `--simulate` actually sends each proposal transaction sequentially from the Governance contract address (which the node must have unlocked, e.g. `anvil --auto-impersonate`). This means transactions execute against cumulative state changes — useful for proposals where the success of one transaction depends on a previous one succeeding. If any transaction fails, the proposal is not submitted and the decoded revert reason is printed. - -Example: `celocli governance:propose --jsonTransactions ./transactions.json --deposit 100e18 --from 0x... --descriptionURL https://... --simulate http://127.0.0.1:8545` diff --git a/.changeset/contractkit-submit-transaction.md b/.changeset/contractkit-submit-transaction.md deleted file mode 100644 index c5379a96e4..0000000000 --- a/.changeset/contractkit-submit-transaction.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/contractkit': minor ---- - -Add `submitTransaction` method to `MultiSigWrapper` to submit transactions to multisig without automatic confirmation. This complements the existing `submitOrConfirmTransaction` method by providing more granular control over the submission process. diff --git a/.changeset/fix-ledger-console-noise.md b/.changeset/fix-ledger-console-noise.md deleted file mode 100644 index 28e1d01ce7..0000000000 --- a/.changeset/fix-ledger-console-noise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/wallet-ledger': patch ---- - -Replace `console.info` with `debug` for derivation path logging to avoid noisy test output diff --git a/.changeset/open-donkeys-nail.md b/.changeset/open-donkeys-nail.md deleted file mode 100644 index a9c42b152d..0000000000 --- a/.changeset/open-donkeys-nail.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@celo/contractkit': patch -'@celo/celocli': patch ---- - -Updates logic for submiting/confirming transaction with multisig to only search thru non executed transactions diff --git a/.changeset/remove-delegate-debug-logs.md b/.changeset/remove-delegate-debug-logs.md deleted file mode 100644 index 596777d15d..0000000000 --- a/.changeset/remove-delegate-debug-logs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/celocli': patch ---- - -Remove debug console.log statements from lockedcelo:delegate command that were leaking internal values to stdout diff --git a/.changeset/remove-mento-reserve-repoint-stables.md b/.changeset/remove-mento-reserve-repoint-stables.md deleted file mode 100644 index e3d06df546..0000000000 --- a/.changeset/remove-mento-reserve-repoint-stables.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@celo/contractkit': major -'@celo/celocli': minor ---- - -Remove ContractKit's dependency on the Mento `Reserve` and `StableToken` ABIs and repoint the Celo stable tokens onto a viem-native ABI. - -- Removed the `ReserveWrapper`, `CeloContract.Reserve`, `ContractKit.getReserve()`, the `reserve` field of `NetworkConfig`, and the `ReserveProxy` init entry. -- `StableToken` / `StableTokenEUR` / `StableTokenBRL` now use a composed `stableTokenViemAbi` (viem's `erc20Abi` + `transferWithComment` from `ICeloToken` + the StableToken admin/`initialize` methods) instead of `@celo/abis` `stableTokenABI`/`reserveABI`. This drops the Mento ABI dependency without waiting on a new `@celo/abis` release. diff --git a/.changeset/remove-rpc-contract-promievent.md b/.changeset/remove-rpc-contract-promievent.md deleted file mode 100644 index 6c7fb4bba1..0000000000 --- a/.changeset/remove-rpc-contract-promievent.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'@celo/connect': major -'@celo/contractkit': major -'@celo/celocli': minor -'@celo/dev-utils': minor ---- - -**Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connect** - -- Deleted `rpc-contract.ts`, `promi-event.ts`, and `viem-contract.ts` — replaced with native viem `getContract()` / `GetContractReturnType` -- `CeloTxObject.send()` now returns `Promise` (tx hash) instead of `PromiEvent` -- Removed `Connection.createContract()` — use `Connection.getCeloContract()` instead -- Removed `PromiEvent` and `Contract` interfaces from types -- Removed the public exports `CeloTransactionObject`, `toTransactionObject`, `CeloTxObject`, `RpcCaller`, and `TransactionResult` (the old `celo-transaction-object`, `rpc-caller`, and `tx-result` modules) -- Contract deployment rewritten to use viem's `encodeDeployData` + `connection.sendTransaction()` -- All contractkit wrappers, CLI commands, and test files updated - -**Breaking changes in @celo/contractkit** - -- `kit.sendTransaction()` now returns `Promise<\`0x${string}\`>` (the transaction hash) instead of a `TransactionResult`; use `kit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusion -- All wrapper write methods now return the transaction hash (a `Promise`) instead of `CeloTransactionObject`; replace `.send()` / `.sendAndWaitForReceipt()` with `await kit.connection.viemClient.waitForTransactionReceipt({ hash })` -- Removed the deprecated `kit.web3` shim — use `kit.connection.viemClient` (reads) and wrapper methods (writes) -- Removed `kit.isListening()` and `kit.isSyncing()` (no direct replacement; query the node via `kit.connection.viemClient.request({ method: 'net_listening' })` or `{ method: 'eth_syncing' }` if needed) -- Removed the deprecated `kit.gasPriceSuggestionMultiplier` property -- Removed the `CeloToken` type re-export — use `CeloTokenContract` diff --git a/.changeset/remove-web3-shim.md b/.changeset/remove-web3-shim.md deleted file mode 100644 index 529a7b72b4..0000000000 --- a/.changeset/remove-web3-shim.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@celo/connect': major -'@celo/contractkit': major -'@celo/celocli': major -'@celo/explorer': patch -'@celo/governance': patch -'@celo/dev-utils': patch ---- - -Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. diff --git a/.changeset/strong-typing-contractkit.md b/.changeset/strong-typing-contractkit.md deleted file mode 100644 index a731ba31c3..0000000000 --- a/.changeset/strong-typing-contractkit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/contractkit': minor ---- - -**Improved type safety**: Added explicit return types to wrapper methods that previously emitted `CeloTransactionObject` or `Promise` in their declaration files, replacing untyped `any` results with concrete types. This provides better IDE autocompletion and compile-time type checking for consumers of `@celo/contractkit`. diff --git a/.changeset/viem-native-migration.md b/.changeset/viem-native-migration.md deleted file mode 100644 index b050068698..0000000000 --- a/.changeset/viem-native-migration.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@celo/connect': minor -'@celo/contractkit': minor -'@celo/explorer': minor ---- - -**Migrate internal contract interaction from the web3-style RPC Contract to viem-native `getContract()`** - -- `@celo/connect` exposes `CeloContract` (viem's `GetContractReturnType`) and `Connection.getCeloContract()` for type-safe `.read`/`.write`/`.estimateGas` access. -- All 36 ContractKit wrappers now call the viem contract namespaces directly. -- `@celo/explorer`: `BlockExplorer.tryParseTx` now accepts viem's `Transaction`, and `getBlockByHash`/`getBlockByNumber` return viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump). -- CLI commands and dev-utils updated to the new API. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index daaea45ac2..2928d48ad8 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,66 @@ # Changelog +## 9.0.0 + +### Major Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +### Minor Changes + +- [#743](https://github.com/celo-org/developer-tooling/pull/743) [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Add new flags to `governance:approve` command for better multisig transaction control: + + - `--submit`: Force submission of approval transaction to multisig without checking for prior confirmations onchain. Use with caution - this bypasses the check for existing submissions. Example: `celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --submit` + + - `--multisigTx`: Specify exact multisig transaction ID to confirm, rather than searching onchain. Useful when you know the transaction ID from offchain sources. Example: `celocli governance:approve --proposalID 99 --from 0x... --useMultiSig --multisigTx 5` + + Both flags depend on `--proposalID` and `--useMultiSig` being provided. + +- [#775](https://github.com/celo-org/developer-tooling/pull/775) [`1c83cf2`](https://github.com/celo-org/developer-tooling/commit/1c83cf2bbb6fbbe42c5a7dded99c71194966c3f9) Thanks [@martinvol](https://github.com/martinvol)! - Add `--simulate` flag to `governance:propose` command to simulate proposal execution against a forked node (e.g. anvil) before submitting on-chain. + + Unlike the default `eth_call`-based simulation, `--simulate` actually sends each proposal transaction sequentially from the Governance contract address (which the node must have unlocked, e.g. `anvil --auto-impersonate`). This means transactions execute against cumulative state changes — useful for proposals where the success of one transaction depends on a previous one succeeding. If any transaction fails, the proposal is not submitted and the decoded revert reason is printed. + + Example: `celocli governance:propose --jsonTransactions ./transactions.json --deposit 100e18 --from 0x... --descriptionURL https://... --simulate http://127.0.0.1:8545` + +- [#777](https://github.com/celo-org/developer-tooling/pull/777) [`f5482b5`](https://github.com/celo-org/developer-tooling/commit/f5482b5a5beeae5827d84a7fd9848841b461c044) Thanks [@martinvol](https://github.com/martinvol)! - Remove ContractKit's dependency on the Mento `Reserve` and `StableToken` ABIs and repoint the Celo stable tokens onto a viem-native ABI. + + - Removed the `ReserveWrapper`, `CeloContract.Reserve`, `ContractKit.getReserve()`, the `reserve` field of `NetworkConfig`, and the `ReserveProxy` init entry. + - `StableToken` / `StableTokenEUR` / `StableTokenBRL` now use a composed `stableTokenViemAbi` (viem's `erc20Abi` + `transferWithComment` from `ICeloToken` + the StableToken admin/`initialize` methods) instead of `@celo/abis` `stableTokenABI`/`reserveABI`. This drops the Mento ABI dependency without waiting on a new `@celo/abis` release. + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connect** + + - Deleted `rpc-contract.ts`, `promi-event.ts`, and `viem-contract.ts` — replaced with native viem `getContract()` / `GetContractReturnType` + - `CeloTxObject.send()` now returns `Promise` (tx hash) instead of `PromiEvent` + - Removed `Connection.createContract()` — use `Connection.getCeloContract()` instead + - Removed `PromiEvent` and `Contract` interfaces from types + - Removed the public exports `CeloTransactionObject`, `toTransactionObject`, `CeloTxObject`, `RpcCaller`, and `TransactionResult` (the old `celo-transaction-object`, `rpc-caller`, and `tx-result` modules) + - Contract deployment rewritten to use viem's `encodeDeployData` + `connection.sendTransaction()` + - All contractkit wrappers, CLI commands, and test files updated + + **Breaking changes in @celo/contractkit** + + - `kit.sendTransaction()` now returns `Promise<\`0x${string}\`>`(the transaction hash) instead of a`TransactionResult`; use `kit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusion + - All wrapper write methods now return the transaction hash (a `Promise`) instead of `CeloTransactionObject`; replace `.send()` / `.sendAndWaitForReceipt()` with `await kit.connection.viemClient.waitForTransactionReceipt({ hash })` + - Removed the deprecated `kit.web3` shim — use `kit.connection.viemClient` (reads) and wrapper methods (writes) + - Removed `kit.isListening()` and `kit.isSyncing()` (no direct replacement; query the node via `kit.connection.viemClient.request({ method: 'net_listening' })` or `{ method: 'eth_syncing' }` if needed) + - Removed the deprecated `kit.gasPriceSuggestionMultiplier` property + - Removed the `CeloToken` type re-export — use `CeloTokenContract` + +### Patch Changes + +- [#743](https://github.com/celo-org/developer-tooling/pull/743) [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Updates logic for submiting/confirming transaction with multisig to only search thru non executed transactions + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove debug console.log statements from lockedcelo:delegate command that were leaking internal values to stdout + +- Updated dependencies [[`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`f5482b5`](https://github.com/celo-org/developer-tooling/commit/f5482b5a5beeae5827d84a7fd9848841b461c044), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/contractkit@11.0.0 + - @celo/wallet-ledger@8.0.4 + - @celo/connect@8.0.0 + - @celo/explorer@5.1.0 + - @celo/governance@5.1.10 + - @celo/wallet-hsm-azure@8.0.4 + - @celo/wallet-local@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 52ab82766f..2b16dd5758 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@celo/celocli", "description": "CLI Tool for interacting with the Celo protocol", - "version": "8.0.3", + "version": "9.0.0", "author": "Celo", "license": "Apache-2.0", "repository": { @@ -43,17 +43,17 @@ "@celo/actions": "0.2.1", "@celo/base": "^7.0.4", "@celo/compliance": "1.0.28", - "@celo/connect": "^7.0.0", - "@celo/contractkit": "^10.0.3", + "@celo/connect": "^8.0.0", + "@celo/contractkit": "^11.0.0", "@celo/cryptographic-utils": "^6.0.0", - "@celo/explorer": "^5.0.18", - "@celo/governance": "^5.1.9", + "@celo/explorer": "^5.1.0", + "@celo/governance": "^5.1.10", "@celo/metadata-claims": "^1.0.4", "@celo/utils": "^8.0.3", "@celo/viem-account-ledger": "^1.2.3", - "@celo/wallet-hsm-azure": "^8.0.3", - "@celo/wallet-ledger": "^8.0.3", - "@celo/wallet-local": "^8.0.3", + "@celo/wallet-hsm-azure": "^8.0.4", + "@celo/wallet-ledger": "^8.0.4", + "@celo/wallet-local": "^8.0.4", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@oclif/core": "^3.27.0", "@oclif/plugin-autocomplete": "^3.2.0", diff --git a/packages/dev-utils/CHANGELOG.md b/packages/dev-utils/CHANGELOG.md index af98a0546e..03550331da 100644 --- a/packages/dev-utils/CHANGELOG.md +++ b/packages/dev-utils/CHANGELOG.md @@ -1,5 +1,35 @@ # @celo/dev-utils +## 0.2.0 + +### Minor Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connect** + + - Deleted `rpc-contract.ts`, `promi-event.ts`, and `viem-contract.ts` — replaced with native viem `getContract()` / `GetContractReturnType` + - `CeloTxObject.send()` now returns `Promise` (tx hash) instead of `PromiEvent` + - Removed `Connection.createContract()` — use `Connection.getCeloContract()` instead + - Removed `PromiEvent` and `Contract` interfaces from types + - Removed the public exports `CeloTransactionObject`, `toTransactionObject`, `CeloTxObject`, `RpcCaller`, and `TransactionResult` (the old `celo-transaction-object`, `rpc-caller`, and `tx-result` modules) + - Contract deployment rewritten to use viem's `encodeDeployData` + `connection.sendTransaction()` + - All contractkit wrappers, CLI commands, and test files updated + + **Breaking changes in @celo/contractkit** + + - `kit.sendTransaction()` now returns `Promise<\`0x${string}\`>`(the transaction hash) instead of a`TransactionResult`; use `kit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusion + - All wrapper write methods now return the transaction hash (a `Promise`) instead of `CeloTransactionObject`; replace `.send()` / `.sendAndWaitForReceipt()` with `await kit.connection.viemClient.waitForTransactionReceipt({ hash })` + - Removed the deprecated `kit.web3` shim — use `kit.connection.viemClient` (reads) and wrapper methods (writes) + - Removed `kit.isListening()` and `kit.isSyncing()` (no direct replacement; query the node via `kit.connection.viemClient.request({ method: 'net_listening' })` or `{ method: 'eth_syncing' }` if needed) + - Removed the deprecated `kit.gasPriceSuggestionMultiplier` property + - Removed the `CeloToken` type re-export — use `CeloTokenContract` + +### Patch Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + ## 0.1.3 ### Patch Changes diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index 0c2429b4a0..3e5527a743 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -1,6 +1,6 @@ { "name": "@celo/dev-utils", - "version": "0.1.3", + "version": "0.2.0", "description": "util package for celo packages that should only be a devDependency", "exports": { "./*": { @@ -34,7 +34,7 @@ }, "dependencies": { "@celo/abis": "13.0.0-post-audit.0", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@viem/anvil": "^0.0.9", "bignumber.js": "^9.0.0", "fs-extra": "^8.1.0", diff --git a/packages/sdk/connect/CHANGELOG.md b/packages/sdk/connect/CHANGELOG.md index 5409d23238..f706b6d78c 100644 --- a/packages/sdk/connect/CHANGELOG.md +++ b/packages/sdk/connect/CHANGELOG.md @@ -1,5 +1,39 @@ # @celo/connect +## 8.0.0 + +### Major Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connect** + + - Deleted `rpc-contract.ts`, `promi-event.ts`, and `viem-contract.ts` — replaced with native viem `getContract()` / `GetContractReturnType` + - `CeloTxObject.send()` now returns `Promise` (tx hash) instead of `PromiEvent` + - Removed `Connection.createContract()` — use `Connection.getCeloContract()` instead + - Removed `PromiEvent` and `Contract` interfaces from types + - Removed the public exports `CeloTransactionObject`, `toTransactionObject`, `CeloTxObject`, `RpcCaller`, and `TransactionResult` (the old `celo-transaction-object`, `rpc-caller`, and `tx-result` modules) + - Contract deployment rewritten to use viem's `encodeDeployData` + `connection.sendTransaction()` + - All contractkit wrappers, CLI commands, and test files updated + + **Breaking changes in @celo/contractkit** + + - `kit.sendTransaction()` now returns `Promise<\`0x${string}\`>`(the transaction hash) instead of a`TransactionResult`; use `kit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusion + - All wrapper write methods now return the transaction hash (a `Promise`) instead of `CeloTransactionObject`; replace `.send()` / `.sendAndWaitForReceipt()` with `await kit.connection.viemClient.waitForTransactionReceipt({ hash })` + - Removed the deprecated `kit.web3` shim — use `kit.connection.viemClient` (reads) and wrapper methods (writes) + - Removed `kit.isListening()` and `kit.isSyncing()` (no direct replacement; query the node via `kit.connection.viemClient.request({ method: 'net_listening' })` or `{ method: 'eth_syncing' }` if needed) + - Removed the deprecated `kit.gasPriceSuggestionMultiplier` property + - Removed the `CeloToken` type re-export — use `CeloTokenContract` + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +### Minor Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Migrate internal contract interaction from the web3-style RPC Contract to viem-native `getContract()`** + + - `@celo/connect` exposes `CeloContract` (viem's `GetContractReturnType`) and `Connection.getCeloContract()` for type-safe `.read`/`.write`/`.estimateGas` access. + - All 36 ContractKit wrappers now call the viem contract namespaces directly. + - `@celo/explorer`: `BlockExplorer.tryParseTx` now accepts viem's `Transaction`, and `getBlockByHash`/`getBlockByNumber` return viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump). + - CLI commands and dev-utils updated to the new API. + ## 7.0.0 ### Major Changes diff --git a/packages/sdk/connect/package.json b/packages/sdk/connect/package.json index 433c0c9de8..592ff28cc1 100644 --- a/packages/sdk/connect/package.json +++ b/packages/sdk/connect/package.json @@ -1,6 +1,6 @@ { "name": "@celo/connect", - "version": "7.0.0", + "version": "8.0.0", "description": "Light Toolkit for connecting with the Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/sdk/contractkit/CHANGELOG.md b/packages/sdk/contractkit/CHANGELOG.md index d356c2ccc2..7e5b1629cd 100644 --- a/packages/sdk/contractkit/CHANGELOG.md +++ b/packages/sdk/contractkit/CHANGELOG.md @@ -1,5 +1,56 @@ # @celo/contractkit +## 11.0.0 + +### Major Changes + +- [#777](https://github.com/celo-org/developer-tooling/pull/777) [`f5482b5`](https://github.com/celo-org/developer-tooling/commit/f5482b5a5beeae5827d84a7fd9848841b461c044) Thanks [@martinvol](https://github.com/martinvol)! - Remove ContractKit's dependency on the Mento `Reserve` and `StableToken` ABIs and repoint the Celo stable tokens onto a viem-native ABI. + + - Removed the `ReserveWrapper`, `CeloContract.Reserve`, `ContractKit.getReserve()`, the `reserve` field of `NetworkConfig`, and the `ReserveProxy` init entry. + - `StableToken` / `StableTokenEUR` / `StableTokenBRL` now use a composed `stableTokenViemAbi` (viem's `erc20Abi` + `transferWithComment` from `ICeloToken` + the StableToken admin/`initialize` methods) instead of `@celo/abis` `stableTokenABI`/`reserveABI`. This drops the Mento ABI dependency without waiting on a new `@celo/abis` release. + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Remove rpc-contract.ts, PromiEvent, and legacy Contract interface from @celo/connect** + + - Deleted `rpc-contract.ts`, `promi-event.ts`, and `viem-contract.ts` — replaced with native viem `getContract()` / `GetContractReturnType` + - `CeloTxObject.send()` now returns `Promise` (tx hash) instead of `PromiEvent` + - Removed `Connection.createContract()` — use `Connection.getCeloContract()` instead + - Removed `PromiEvent` and `Contract` interfaces from types + - Removed the public exports `CeloTransactionObject`, `toTransactionObject`, `CeloTxObject`, `RpcCaller`, and `TransactionResult` (the old `celo-transaction-object`, `rpc-caller`, and `tx-result` modules) + - Contract deployment rewritten to use viem's `encodeDeployData` + `connection.sendTransaction()` + - All contractkit wrappers, CLI commands, and test files updated + + **Breaking changes in @celo/contractkit** + + - `kit.sendTransaction()` now returns `Promise<\`0x${string}\`>`(the transaction hash) instead of a`TransactionResult`; use `kit.connection.viemClient.waitForTransactionReceipt({ hash })` to wait for inclusion + - All wrapper write methods now return the transaction hash (a `Promise`) instead of `CeloTransactionObject`; replace `.send()` / `.sendAndWaitForReceipt()` with `await kit.connection.viemClient.waitForTransactionReceipt({ hash })` + - Removed the deprecated `kit.web3` shim — use `kit.connection.viemClient` (reads) and wrapper methods (writes) + - Removed `kit.isListening()` and `kit.isSyncing()` (no direct replacement; query the node via `kit.connection.viemClient.request({ method: 'net_listening' })` or `{ method: 'eth_syncing' }` if needed) + - Removed the deprecated `kit.gasPriceSuggestionMultiplier` property + - Removed the `CeloToken` type re-export — use `CeloTokenContract` + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +### Minor Changes + +- [#743](https://github.com/celo-org/developer-tooling/pull/743) [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Add `submitTransaction` method to `MultiSigWrapper` to submit transactions to multisig without automatic confirmation. This complements the existing `submitOrConfirmTransaction` method by providing more granular control over the submission process. + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Improved type safety**: Added explicit return types to wrapper methods that previously emitted `CeloTransactionObject` or `Promise` in their declaration files, replacing untyped `any` results with concrete types. This provides better IDE autocompletion and compile-time type checking for consumers of `@celo/contractkit`. + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Migrate internal contract interaction from the web3-style RPC Contract to viem-native `getContract()`** + + - `@celo/connect` exposes `CeloContract` (viem's `GetContractReturnType`) and `Connection.getCeloContract()` for type-safe `.read`/`.write`/`.estimateGas` access. + - All 36 ContractKit wrappers now call the viem contract namespaces directly. + - `@celo/explorer`: `BlockExplorer.tryParseTx` now accepts viem's `Transaction`, and `getBlockByHash`/`getBlockByNumber` return viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump). + - CLI commands and dev-utils updated to the new API. + +### Patch Changes + +- [#743](https://github.com/celo-org/developer-tooling/pull/743) [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b) Thanks [@aaronmgdr](https://github.com/aaronmgdr)! - Updates logic for submiting/confirming transaction with multisig to only search thru non executed transactions + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-local@8.0.4 + ## 10.0.3 ### Patch Changes diff --git a/packages/sdk/contractkit/package.json b/packages/sdk/contractkit/package.json index 528d7f221b..674a9aeec6 100644 --- a/packages/sdk/contractkit/package.json +++ b/packages/sdk/contractkit/package.json @@ -1,6 +1,6 @@ { "name": "@celo/contractkit", - "version": "10.0.3", + "version": "11.0.0", "description": "Celo's ContractKit to interact with Celo network", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -30,9 +30,9 @@ "dependencies": { "@celo/abis": "13.0.0-post-audit.0", "@celo/base": "^7.0.4", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-local": "^8.0.1", + "@celo/wallet-local": "^8.0.4", "@types/debug": "^4.1.5", "bignumber.js": "^9.0.0", "debug": "^4.1.1", diff --git a/packages/sdk/explorer/CHANGELOG.md b/packages/sdk/explorer/CHANGELOG.md index 4440e84cf7..189306bcf3 100644 --- a/packages/sdk/explorer/CHANGELOG.md +++ b/packages/sdk/explorer/CHANGELOG.md @@ -1,5 +1,24 @@ # @celo/explorer +## 5.1.0 + +### Minor Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - **Migrate internal contract interaction from the web3-style RPC Contract to viem-native `getContract()`** + + - `@celo/connect` exposes `CeloContract` (viem's `GetContractReturnType`) and `Connection.getCeloContract()` for type-safe `.read`/`.write`/`.estimateGas` access. + - All 36 ContractKit wrappers now call the viem contract namespaces directly. + - `@celo/explorer`: `BlockExplorer.tryParseTx` now accepts viem's `Transaction`, and `getBlockByHash`/`getBlockByNumber` return viem block shapes. This is a breaking change for direct callers of these methods (hence the minor bump). + - CLI commands and dev-utils updated to the new API. + +### Patch Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +- Updated dependencies [[`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`f5482b5`](https://github.com/celo-org/developer-tooling/commit/f5482b5a5beeae5827d84a7fd9848841b461c044), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/contractkit@11.0.0 + - @celo/connect@8.0.0 + ## 5.0.18 ### Patch Changes diff --git a/packages/sdk/explorer/package.json b/packages/sdk/explorer/package.json index 3a79d82edd..1a98a2b588 100644 --- a/packages/sdk/explorer/package.json +++ b/packages/sdk/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@celo/explorer", - "version": "5.0.18", + "version": "5.1.0", "description": "Celo's block explorer consumer", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -26,8 +26,8 @@ }, "dependencies": { "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", - "@celo/contractkit": "^10.0.2", + "@celo/connect": "^8.0.0", + "@celo/contractkit": "^11.0.0", "@celo/utils": "^8.0.3", "@types/debug": "^4.1.5", "bignumber.js": "9.0.0", diff --git a/packages/sdk/governance/CHANGELOG.md b/packages/sdk/governance/CHANGELOG.md index 47ce935216..594dcff793 100644 --- a/packages/sdk/governance/CHANGELOG.md +++ b/packages/sdk/governance/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/governance +## 5.1.10 + +### Patch Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Remove the deprecated `kit.web3` shim and migrate contractkit to viem-native contract interaction. Use `kit.connection.viemClient` for reads and the wrapper methods for writes. Adds `newKitFromProvider()` as the recommended factory for building a kit from an EIP-1193 provider. + +- Updated dependencies [[`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`a695c5c`](https://github.com/celo-org/developer-tooling/commit/a695c5c510dad78028744e1537ca3954f1aef86b), [`f5482b5`](https://github.com/celo-org/developer-tooling/commit/f5482b5a5beeae5827d84a7fd9848841b461c044), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/contractkit@11.0.0 + - @celo/connect@8.0.0 + - @celo/explorer@5.1.0 + ## 5.1.9 ### Patch Changes diff --git a/packages/sdk/governance/package.json b/packages/sdk/governance/package.json index 5d592bd6e5..5c8484f276 100644 --- a/packages/sdk/governance/package.json +++ b/packages/sdk/governance/package.json @@ -1,6 +1,6 @@ { "name": "@celo/governance", - "version": "5.1.9", + "version": "5.1.10", "description": "Celo's governance proposals", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -26,9 +26,9 @@ "dependencies": { "@celo/abis": "13.0.0-post-audit.0", "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", - "@celo/contractkit": "^10.0.2", - "@celo/explorer": "^5.0.18", + "@celo/connect": "^8.0.0", + "@celo/contractkit": "^11.0.0", + "@celo/explorer": "^5.1.0", "@celo/utils": "^8.0.3", "@noble/hashes": "1.3.3", "@types/debug": "^4.1.5", diff --git a/packages/sdk/transactions-uri/CHANGELOG.md b/packages/sdk/transactions-uri/CHANGELOG.md index 2933ea7ba8..c1db4716d5 100644 --- a/packages/sdk/transactions-uri/CHANGELOG.md +++ b/packages/sdk/transactions-uri/CHANGELOG.md @@ -1,5 +1,12 @@ # @celo/transactions-uri +## 5.0.16 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + ## 5.0.15 ### Patch Changes diff --git a/packages/sdk/transactions-uri/package.json b/packages/sdk/transactions-uri/package.json index 47318927eb..be017dbd10 100644 --- a/packages/sdk/transactions-uri/package.json +++ b/packages/sdk/transactions-uri/package.json @@ -1,6 +1,6 @@ { "name": "@celo/transactions-uri", - "version": "5.0.15", + "version": "5.0.16", "description": "Celo's transactions uri generation", "main": "./lib/index.js", "types": "./lib/index.d.ts", @@ -26,14 +26,14 @@ }, "dependencies": { "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@types/debug": "^4.1.5", "@types/qrcode": "^1.3.4", "qrcode": "1.4.4", "viem": "^2.33.2" }, "devDependencies": { - "@celo/contractkit": "^10.0.2-alpha.0", + "@celo/contractkit": "^11.0.0", "@celo/dev-utils": "workspace:^", "@celo/typescript": "workspace:^", "cross-fetch": "3.1.5", diff --git a/packages/sdk/wallets/wallet-base/CHANGELOG.md b/packages/sdk/wallets/wallet-base/CHANGELOG.md index 2e543d3099..4d37269489 100644 --- a/packages/sdk/wallets/wallet-base/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-base/CHANGELOG.md @@ -1,5 +1,12 @@ # @celo/wallet-base +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-base/package.json b/packages/sdk/wallets/wallet-base/package.json index a9e7517374..b2903f9c03 100644 --- a/packages/sdk/wallets/wallet-base/package.json +++ b/packages/sdk/wallets/wallet-base/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-base", - "version": "8.0.3", + "version": "8.0.4", "description": "Wallet base implementation", "author": "Celo", "license": "Apache-2.0", @@ -31,7 +31,7 @@ }, "dependencies": { "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", "@noble/curves": "^1.3.0", "@noble/hashes": "^1.3.3", diff --git a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md index 606f0384c0..8f6df614f8 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-aws/CHANGELOG.md @@ -1,5 +1,15 @@ # @celo/wallet-hsm-aws +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + - @celo/wallet-remote@8.0.4 + - @celo/wallet-hsm@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-aws/package.json b/packages/sdk/wallets/wallet-hsm-aws/package.json index 82a6af67db..0ee5230a28 100644 --- a/packages/sdk/wallets/wallet-hsm-aws/package.json +++ b/packages/sdk/wallets/wallet-hsm-aws/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-aws", - "version": "8.0.3", + "version": "8.0.4", "description": "AWS HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,11 +25,11 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", - "@celo/wallet-hsm": "^8.0.3", - "@celo/wallet-remote": "^8.0.3", + "@celo/wallet-base": "^8.0.4", + "@celo/wallet-hsm": "^8.0.4", + "@celo/wallet-remote": "^8.0.4", "@types/debug": "^4.1.5", "@types/secp256k1": "^4.0.0", "aws-sdk": "^2.705.0", diff --git a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md index d36602189e..11dbd94c08 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-azure/CHANGELOG.md @@ -1,5 +1,15 @@ # @celo/wallet-hsm-azure +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + - @celo/wallet-remote@8.0.4 + - @celo/wallet-hsm@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-azure/package.json b/packages/sdk/wallets/wallet-hsm-azure/package.json index 0db2268380..aeb99fe4c6 100644 --- a/packages/sdk/wallets/wallet-hsm-azure/package.json +++ b/packages/sdk/wallets/wallet-hsm-azure/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-azure", - "version": "8.0.3", + "version": "8.0.4", "description": "Azure HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -29,11 +29,11 @@ "@azure/keyvault-keys": "^4.7.2", "@azure/keyvault-secrets": "^4.7.0", "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", - "@celo/wallet-hsm": "^8.0.3", - "@celo/wallet-remote": "^8.0.3", + "@celo/wallet-base": "^8.0.4", + "@celo/wallet-hsm": "^8.0.4", + "@celo/wallet-remote": "^8.0.4", "@types/secp256k1": "^4.0.0", "bignumber.js": "^9.0.0", "debug": "^4.1.1" diff --git a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md index 346fc23a59..0739d4626d 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm-gcp/CHANGELOG.md @@ -1,5 +1,15 @@ # @celo/wallet-hsm-gcp +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + - @celo/wallet-remote@8.0.4 + - @celo/wallet-hsm@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-hsm-gcp/package.json b/packages/sdk/wallets/wallet-hsm-gcp/package.json index 54747054ab..98159758ed 100644 --- a/packages/sdk/wallets/wallet-hsm-gcp/package.json +++ b/packages/sdk/wallets/wallet-hsm-gcp/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm-gcp", - "version": "8.0.3", + "version": "8.0.4", "description": "GCP HSM wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -19,11 +19,11 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", - "@celo/wallet-hsm": "^8.0.3", - "@celo/wallet-remote": "^8.0.3", + "@celo/wallet-base": "^8.0.4", + "@celo/wallet-hsm": "^8.0.4", + "@celo/wallet-remote": "^8.0.4", "@google-cloud/kms": "~2.9.0", "@noble/curves": "^1.3.0", "@types/debug": "^4.1.5", diff --git a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md index b34a699e90..33f013046f 100644 --- a/packages/sdk/wallets/wallet-hsm/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-hsm/CHANGELOG.md @@ -1,5 +1,7 @@ # @celo/wallet-hsm +## 8.0.4 + ## 8.0.3 ## 8.0.2 diff --git a/packages/sdk/wallets/wallet-hsm/package.json b/packages/sdk/wallets/wallet-hsm/package.json index d5a3c0d1ad..f55b91e625 100644 --- a/packages/sdk/wallets/wallet-hsm/package.json +++ b/packages/sdk/wallets/wallet-hsm/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-hsm", - "version": "8.0.3", + "version": "8.0.4", "description": "HSM wallet implementation utils", "author": "Celo", "license": "Apache-2.0", diff --git a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md index 7b4899a820..459b4f6a66 100644 --- a/packages/sdk/wallets/wallet-ledger/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-ledger/CHANGELOG.md @@ -1,5 +1,16 @@ # @celo/wallet-ledger +## 8.0.4 + +### Patch Changes + +- [#780](https://github.com/celo-org/developer-tooling/pull/780) [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f) Thanks [@pahor167](https://github.com/pahor167)! - Replace `console.info` with `debug` for derivation path logging to avoid noisy test output + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + - @celo/wallet-remote@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-ledger/package.json b/packages/sdk/wallets/wallet-ledger/package.json index c75046c0f6..adc9f2e7c9 100644 --- a/packages/sdk/wallets/wallet-ledger/package.json +++ b/packages/sdk/wallets/wallet-ledger/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-ledger", - "version": "8.0.3", + "version": "8.0.4", "description": "Ledger wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -28,19 +28,19 @@ }, "dependencies": { "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/hw-app-eth": "^1.0.1", "@celo/ledger-token-signer": "0.15.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", - "@celo/wallet-remote": "^8.0.3", + "@celo/wallet-base": "^8.0.4", + "@celo/wallet-remote": "^8.0.4", "@ledgerhq/errors": "^6.16.4", "@ledgerhq/hw-transport": "^6.30.6", "debug": "^4.1.1", "semver": "^7.7.2" }, "devDependencies": { - "@celo/contractkit": "^10.0.2-alpha.0", + "@celo/contractkit": "^11.0.0", "@celo/typescript": "workspace:^", "@ledgerhq/hw-transport-node-hid": "^6.28.5", "@noble/curves": "^1.4.0", diff --git a/packages/sdk/wallets/wallet-local/CHANGELOG.md b/packages/sdk/wallets/wallet-local/CHANGELOG.md index 3dabf14882..54cba047a3 100644 --- a/packages/sdk/wallets/wallet-local/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-local/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/wallet-local +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-local/package.json b/packages/sdk/wallets/wallet-local/package.json index d8860d7566..358ce9428c 100644 --- a/packages/sdk/wallets/wallet-local/package.json +++ b/packages/sdk/wallets/wallet-local/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-local", - "version": "8.0.3", + "version": "8.0.4", "description": "Local wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -26,9 +26,9 @@ }, "dependencies": { "@celo/base": "^7.0.3", - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", + "@celo/wallet-base": "^8.0.4", "@noble/curves": "^1.3.0", "@noble/hashes": "^1.3.3" }, diff --git a/packages/sdk/wallets/wallet-remote/CHANGELOG.md b/packages/sdk/wallets/wallet-remote/CHANGELOG.md index 887233536b..a9cdcc0d2a 100644 --- a/packages/sdk/wallets/wallet-remote/CHANGELOG.md +++ b/packages/sdk/wallets/wallet-remote/CHANGELOG.md @@ -1,5 +1,13 @@ # @celo/wallet-remote +## 8.0.4 + +### Patch Changes + +- Updated dependencies [[`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f), [`95a84a4`](https://github.com/celo-org/developer-tooling/commit/95a84a4ac6c18278e94ef98549c1606dcd5a496f)]: + - @celo/connect@8.0.0 + - @celo/wallet-base@8.0.4 + ## 8.0.3 ### Patch Changes diff --git a/packages/sdk/wallets/wallet-remote/package.json b/packages/sdk/wallets/wallet-remote/package.json index 478ead3ee4..2ae94e47ac 100644 --- a/packages/sdk/wallets/wallet-remote/package.json +++ b/packages/sdk/wallets/wallet-remote/package.json @@ -1,6 +1,6 @@ { "name": "@celo/wallet-remote", - "version": "8.0.3", + "version": "8.0.4", "description": "Remote wallet implementation", "author": "Celo", "license": "Apache-2.0", @@ -25,9 +25,9 @@ "prepublishOnly": "yarn build" }, "dependencies": { - "@celo/connect": "^7.0.0", + "@celo/connect": "^8.0.0", "@celo/utils": "^8.0.3", - "@celo/wallet-base": "^8.0.3", + "@celo/wallet-base": "^8.0.4", "@types/debug": "^4.1.5" }, "devDependencies": { From 055d7ac568a311b6cbfbcb4ae2431506557075e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 20:41:11 +0000 Subject: [PATCH 2/2] Version Packages --- docs/command-line-interface/account.md | 56 +- docs/command-line-interface/bridge.md | 388 ++ docs/command-line-interface/config.md | 4 +- docs/command-line-interface/election.md | 14 +- docs/command-line-interface/epochs.md | 12 +- docs/command-line-interface/governance.md | 67 +- docs/command-line-interface/identity.md | 2 +- docs/command-line-interface/lockedcelo.md | 18 +- docs/command-line-interface/multisig.md | 8 +- docs/command-line-interface/network.md | 8 +- docs/command-line-interface/node.md | 2 +- docs/command-line-interface/oracle.md | 8 +- docs/command-line-interface/releasecelo.md | 30 +- docs/command-line-interface/rewards.md | 2 +- docs/command-line-interface/transfer.md | 12 +- docs/command-line-interface/validator.md | 16 +- docs/command-line-interface/validatorgroup.md | 16 +- docs/sdk/connect/README.md | 11 +- .../connect/classes/CeloTransactionObject.md | 97 - docs/sdk/connect/classes/Connection.md | 4670 +++++++++++++++-- docs/sdk/connect/classes/Contract.md | 315 -- docs/sdk/connect/classes/HttpRpcCaller.md | 103 - docs/sdk/connect/classes/TransactionResult.md | 59 - .../connect/functions/createCeloContract.md | 2528 +++++++++ .../functions/decodeParametersToObject.md | 27 + .../functions/decodeStringParameter.md | 12 +- docs/sdk/connect/functions/getAbiByName.md | 4 +- docs/sdk/connect/functions/getRandomId.md | 15 - docs/sdk/connect/functions/isEmpty.md | 21 + docs/sdk/connect/functions/isPresent.md | 10 +- .../connect/functions/parseDecodedParams.md | 4 +- .../functions/readOnlyWalletToAccount.md | 258 + docs/sdk/connect/functions/rpcCallHandler.md | 29 - .../functions/signatureToAbiDefinition.md | 4 +- .../connect/functions/toTransactionObject.md | 35 - docs/sdk/connect/functions/toTxResult.md | 23 - docs/sdk/connect/globals.md | 46 +- docs/sdk/connect/interfaces/ABIDefinition.md | 28 +- docs/sdk/connect/interfaces/AbiCoder.md | 205 - docs/sdk/connect/interfaces/AbiInput.md | 51 - docs/sdk/connect/interfaces/AbiItem.md | 26 +- docs/sdk/connect/interfaces/AbiOutput.md | 43 - .../sdk/connect/interfaces/AccessListEntry.md | 27 + docs/sdk/connect/interfaces/Block.md | 249 - docs/sdk/connect/interfaces/BlockHeader.md | 46 +- .../connect/interfaces/CIP64TXProperties.md | 34 +- .../connect/interfaces/CIP66TXProperties.md | 36 +- docs/sdk/connect/interfaces/CeloParams.md | 10 +- docs/sdk/connect/interfaces/CeloTx.md | 159 + docs/sdk/connect/interfaces/CeloTxObject.md | 97 - docs/sdk/connect/interfaces/CeloTxPending.md | 167 + .../connect/interfaces/ConnectionOptions.md | 10 +- docs/sdk/connect/interfaces/ContractRef.md | 30 + .../connect/interfaces/ContractSendMethod.md | 151 - .../connect/interfaces/DecodedParamsArray.md | 8 +- .../connect/interfaces/DecodedParamsObject.md | 10 +- .../connect/interfaces/EIP1559TXProperties.md | 32 +- .../sdk/connect/interfaces/Eip1193Provider.md | 27 - .../interfaces/Eip1193RequestArguments.md | 25 - .../connect/interfaces/EncodedTransaction.md | 8 +- docs/sdk/connect/interfaces/Error.md | 33 - .../interfaces/EthereumLegacyTXProperties.md | 26 +- docs/sdk/connect/interfaces/EventLog.md | 28 +- .../sdk/connect/interfaces/FormattedCeloTx.md | 32 +- docs/sdk/connect/interfaces/HttpProvider.md | 31 - docs/sdk/connect/interfaces/JsonRpcPayload.md | 41 - .../sdk/connect/interfaces/JsonRpcResponse.md | 53 - docs/sdk/connect/interfaces/Log.md | 81 - .../connect/interfaces/PastEventOptions.md | 44 +- docs/sdk/connect/interfaces/PromiEvent.md | 426 -- docs/sdk/connect/interfaces/Provider.md | 27 +- docs/sdk/connect/interfaces/RLPEncodedTx.md | 10 +- docs/sdk/connect/interfaces/ReadOnlyWallet.md | 4 +- docs/sdk/connect/interfaces/RpcCaller.md | 53 - docs/sdk/connect/interfaces/Sign.md | 101 - docs/sdk/connect/interfaces/Signer.md | 2 +- docs/sdk/connect/interfaces/Syncing.md | 49 - docs/sdk/connect/type-aliases/ABIType.md | 6 +- docs/sdk/connect/type-aliases/AbiInput.md | 21 + docs/sdk/connect/type-aliases/AbiOutput.md | 15 + docs/sdk/connect/type-aliases/AccessList.md | 13 + .../sdk/connect/type-aliases/AccessListRaw.md | 4 +- docs/sdk/connect/type-aliases/Address.md | 4 +- docs/sdk/connect/type-aliases/BlockNumber.md | 8 +- docs/sdk/connect/type-aliases/Callback.md | 31 - docs/sdk/connect/type-aliases/CeloContract.md | 22 + .../type-aliases/CeloTransactionParams.md | 11 - docs/sdk/connect/type-aliases/CeloTx.md | 21 - .../sdk/connect/type-aliases/CeloTxPending.md | 11 - .../sdk/connect/type-aliases/CeloTxReceipt.md | 11 - .../sdk/connect/type-aliases/CeloTxWithSig.md | 6 +- docs/sdk/connect/type-aliases/Hex.md | 4 +- docs/sdk/connect/type-aliases/HexOrMissing.md | 4 +- .../connect/type-aliases/TransactionTypes.md | 4 +- docs/sdk/connect/type-aliases/WithSig.md | 4 +- .../connect/variables/PROXY_ADMIN_ADDRESS.md | 4 +- docs/sdk/contractkit/README.md | 2 +- docs/sdk/contractkit/classes/CeloTokens.md | 2 +- docs/sdk/contractkit/classes/ContractKit.md | 136 +- .../contractkit/enumerations/CeloContract.md | 22 +- .../contractkit/enumerations/StableToken.md | 2 +- docs/sdk/contractkit/enumerations/Token.md | 2 +- .../getInitializeAbiOfImplementation.md | 4 +- docs/sdk/contractkit/functions/newKit.md | 8 +- .../functions/newKitFromProvider.md | 31 + .../contractkit/functions/newKitFromWeb3.md | 29 - .../contractkit/functions/newKitWithApiKey.md | 4 +- .../functions/setImplementationOnProxy.md | 10 +- docs/sdk/contractkit/globals.md | 7 +- .../contractkit/interfaces/NetworkConfig.md | 26 +- docs/sdk/contractkit/type-aliases/Address.md | 2 +- .../sdk/contractkit/type-aliases/CeloToken.md | 17 - .../type-aliases/CeloTokenContract.md | 4 +- .../contractkit/type-aliases/CeloTokenType.md | 2 +- .../type-aliases/HttpProviderOptions.md | 22 +- .../variables/API_KEY_HEADER_KEY.md | 4 +- .../sdk/contractkit/variables/AllContracts.md | 4 +- .../variables/GET_IMPLEMENTATION_ABI.md | 2 +- .../sdk/contractkit/variables/NULL_ADDRESS.md | 2 +- docs/sdk/contractkit/variables/PROXY_ABI.md | 2 +- ...AND_INITIALIZE_IMPLEMENTATION_SIGNATURE.md | 2 +- .../PROXY_SET_IMPLEMENTATION_SIGNATURE.md | 2 +- .../variables/REGISTRY_CONTRACT_ADDRESS.md | 2 +- .../variables/RegisteredContracts.md | 4 +- .../SET_AND_INITIALIZE_IMPLEMENTATION_ABI.md | 2 +- .../variables/SET_IMPLEMENTATION_ABI.md | 2 +- .../variables/TRANSFER_OWNERSHIP_ABI.md | 2 +- .../functions/detectMnemonicLanguage.md | 2 +- .../functions/formatNonAccentedCharacters.md | 25 - .../generateDeterministicInviteCode.md | 2 +- .../functions/generateKeys.md | 2 +- .../functions/generateKeysFromSeed.md | 2 +- .../functions/generateSeed.md | 2 +- .../functions/getAllLanguages.md | 2 +- .../functions/getWordList.md | 2 +- .../functions/mnemonicLengthFromStrength.md | 2 +- .../functions/suggestMnemonicCorrections.md | 2 +- docs/sdk/cryptographic-utils/globals.md | 1 - .../variables/AccountUtils.md | 2 +- docs/sdk/explorer/README.md | 4 +- docs/sdk/explorer/classes/BlockExplorer.md | 157 +- docs/sdk/explorer/classes/LogExplorer.md | 22 +- docs/sdk/explorer/functions/mapFromPairs.md | 2 +- .../explorer/functions/newBlockExplorer.md | 4 +- docs/sdk/explorer/functions/newLogExplorer.md | 4 +- .../functions/obtainKitContractDetails.md | 2 +- docs/sdk/explorer/interfaces/CallDetails.md | 16 +- .../explorer/interfaces/ContractDetails.md | 2 +- .../explorer/interfaces/ContractMapping.md | 2 +- .../interfaces/ContractNameAndMethodAbi.md | 10 +- docs/sdk/explorer/interfaces/ParsedBlock.md | 8 +- docs/sdk/explorer/interfaces/ParsedTx.md | 10 +- .../getContractDetailsFromContract.md | 2 +- docs/sdk/governance/README.md | 4 +- .../classes/InteractiveProposalBuilder.md | 10 +- .../sdk/governance/classes/ProposalBuilder.md | 172 +- .../functions/hotfixToEncodedParams.md | 10 +- docs/sdk/governance/functions/hotfixToHash.md | 4 +- .../functions/isProxySetAndInitFunction.md | 4 +- .../functions/isProxySetFunction.md | 4 +- .../governance/functions/isRegistryRepoint.md | 4 +- .../governance/functions/proposalToJSON.md | 4 +- .../functions/registryRepointArgs.md | 4 +- .../interfaces/ProposalTransactionJSON.md | 16 +- .../interfaces/RegistryAdditions.md | 4 +- .../ExternalProposalTransactionJSON.md | 4 +- .../type-aliases/ProposalTxParams.md | 4 +- docs/sdk/governance/variables/debug.md | 4 +- .../governance/variables/hotfixExecuteAbi.md | 4 +- docs/sdk/transactions-uri/README.md | 4 +- .../transactions-uri/functions/QrFromUri.md | 4 +- .../transactions-uri/functions/buildUri.md | 2 +- .../transactions-uri/functions/parseUri.md | 4 +- .../@celo/namespaces/AddressUtils/README.md | 4 +- .../AddressUtils/functions/isValidAddress.md | 2 +- .../functions/isValidChecksumAddress.md | 21 + .../functions/isValidPrivateKey.md | 2 +- .../functions/privateKeyToAddress.md | 2 +- .../functions/privateKeyToPublicKey.md | 6 +- .../functions/publicKeyToAddress.md | 2 +- .../functions/toChecksumAddress.md | 34 + .../variables/isValidChecksumAddress.md | 29 - .../variables/toChecksumAddress.md | 36 - docs/sdk/utils/variables/ECIES.md | 2 +- docs/sdk/utils/variables/IstanbulUtils.md | 2 +- docs/sdk/utils/variables/SignatureUtils.md | 10 +- docs/sdk/wallet-base/README.md | 4 +- docs/sdk/wallet-base/classes/WalletBase.md | 8 +- .../sdk/wallet-base/functions/assertLength.md | 6 +- .../chainIdTransformationForSigning.md | 4 +- docs/sdk/wallet-base/functions/decodeSig.md | 4 +- .../wallet-base/functions/determineTXType.md | 4 +- .../functions/encodeTransaction.md | 4 +- .../extractPublicKeyFromHashAndSignature.md | 6 +- .../wallet-base/functions/extractSignature.md | 2 +- .../functions/getHashFromEncoded.md | 4 +- .../functions/getSignerFromTxEIP2718TX.md | 4 +- .../sdk/wallet-base/functions/handleBigInt.md | 4 +- docs/sdk/wallet-base/functions/handleData.md | 4 +- .../wallet-base/functions/handleHexString.md | 4 +- .../sdk/wallet-base/functions/handleNumber.md | 4 +- .../functions/handleStringNumber.md | 4 +- docs/sdk/wallet-base/functions/isCIP64.md | 4 +- docs/sdk/wallet-base/functions/isCIP66.md | 4 +- docs/sdk/wallet-base/functions/isEIP1559.md | 4 +- .../sdk/wallet-base/functions/isPriceToLow.md | 4 +- .../functions/recoverMessageSigner.md | 4 +- .../functions/recoverTransaction.md | 2 +- .../sdk/wallet-base/functions/rlpEncodedTx.md | 4 +- .../wallet-base/functions/signTransaction.md | 4 +- .../functions/stringNumberOrBNToHex.md | 6 +- .../functions/verifyEIP712TypedDataSigner.md | 4 +- .../functions/verifySignatureWithoutPrefix.md | 4 +- .../wallet-base/interfaces/LegacyEncodedTx.md | 10 +- .../interfaces/UnlockableWallet.md | 2 +- docs/sdk/wallet-base/interfaces/Wallet.md | 2 +- .../wallet-base/variables/publicKeyPrefix.md | 4 +- docs/sdk/wallet-base/variables/sixtyFour.md | 4 +- docs/sdk/wallet-base/variables/thirtyTwo.md | 4 +- docs/sdk/wallet-hsm-aws/README.md | 4 +- .../wallet-hsm-aws/classes/AwsHsmSigner.md | 10 +- .../wallet-hsm-aws/classes/AwsHsmWallet.md | 2 +- docs/sdk/wallet-hsm-azure/README.md | 4 +- .../classes/AzureHSMSigner.md | 10 +- .../classes/AzureHSMWallet.md | 8 +- .../classes/AzureKeyVaultClient.md | 2 +- docs/sdk/wallet-hsm-gcp/README.md | 4 +- .../wallet-hsm-gcp/classes/GcpHsmSigner.md | 10 +- .../wallet-hsm-gcp/classes/GcpHsmWallet.md | 2 +- docs/sdk/wallet-hsm/README.md | 4 +- docs/sdk/wallet-hsm/classes/Signature.md | 2 +- .../wallet-hsm/functions/asn1FromPublicKey.md | 2 +- .../wallet-hsm/functions/bigNumberToBuffer.md | 2 +- .../wallet-hsm/functions/bufferToBigNumber.md | 2 +- .../functions/getAddressFromPublicKey.md | 2 +- .../sdk/wallet-hsm/functions/makeCanonical.md | 2 +- .../wallet-hsm/functions/parseBERSignature.md | 2 +- .../wallet-hsm/functions/publicKeyFromAsn1.md | 2 +- .../wallet-hsm/functions/recoverKeyIndex.md | 2 +- .../sdk/wallet-hsm/functions/toArrayBuffer.md | 2 +- .../wallet-hsm/variables/publicKeyPrefix.md | 2 +- docs/sdk/wallet-hsm/variables/sixtyFour.md | 2 +- docs/sdk/wallet-hsm/variables/thirtyTwo.md | 2 +- docs/sdk/wallet-ledger/README.md | 4 +- .../sdk/wallet-ledger/classes/LedgerSigner.md | 18 +- .../sdk/wallet-ledger/classes/LedgerWallet.md | 2 +- .../enumerations/AddressValidation.md | 2 +- .../functions/newLedgerWalletWithSetup.md | 2 +- .../variables/CELO_BASE_DERIVATION_PATH.md | 2 +- docs/sdk/wallet-local/README.md | 4 +- docs/sdk/wallet-local/classes/LocalSigner.md | 18 +- docs/sdk/wallet-local/classes/LocalWallet.md | 2 +- docs/sdk/wallet-remote/README.md | 4 +- .../sdk/wallet-remote/classes/RemoteWallet.md | 2 +- yarn.lock | 96 +- 255 files changed, 9033 insertions(+), 4082 deletions(-) create mode 100644 docs/command-line-interface/bridge.md delete mode 100644 docs/sdk/connect/classes/CeloTransactionObject.md delete mode 100644 docs/sdk/connect/classes/Contract.md delete mode 100644 docs/sdk/connect/classes/HttpRpcCaller.md delete mode 100644 docs/sdk/connect/classes/TransactionResult.md create mode 100644 docs/sdk/connect/functions/createCeloContract.md create mode 100644 docs/sdk/connect/functions/decodeParametersToObject.md delete mode 100644 docs/sdk/connect/functions/getRandomId.md create mode 100644 docs/sdk/connect/functions/isEmpty.md create mode 100644 docs/sdk/connect/functions/readOnlyWalletToAccount.md delete mode 100644 docs/sdk/connect/functions/rpcCallHandler.md delete mode 100644 docs/sdk/connect/functions/toTransactionObject.md delete mode 100644 docs/sdk/connect/functions/toTxResult.md delete mode 100644 docs/sdk/connect/interfaces/AbiCoder.md delete mode 100644 docs/sdk/connect/interfaces/AbiInput.md delete mode 100644 docs/sdk/connect/interfaces/AbiOutput.md create mode 100644 docs/sdk/connect/interfaces/AccessListEntry.md delete mode 100644 docs/sdk/connect/interfaces/Block.md create mode 100644 docs/sdk/connect/interfaces/CeloTx.md delete mode 100644 docs/sdk/connect/interfaces/CeloTxObject.md create mode 100644 docs/sdk/connect/interfaces/CeloTxPending.md create mode 100644 docs/sdk/connect/interfaces/ContractRef.md delete mode 100644 docs/sdk/connect/interfaces/ContractSendMethod.md delete mode 100644 docs/sdk/connect/interfaces/Eip1193Provider.md delete mode 100644 docs/sdk/connect/interfaces/Eip1193RequestArguments.md delete mode 100644 docs/sdk/connect/interfaces/Error.md delete mode 100644 docs/sdk/connect/interfaces/HttpProvider.md delete mode 100644 docs/sdk/connect/interfaces/JsonRpcPayload.md delete mode 100644 docs/sdk/connect/interfaces/JsonRpcResponse.md delete mode 100644 docs/sdk/connect/interfaces/Log.md delete mode 100644 docs/sdk/connect/interfaces/PromiEvent.md delete mode 100644 docs/sdk/connect/interfaces/RpcCaller.md delete mode 100644 docs/sdk/connect/interfaces/Sign.md delete mode 100644 docs/sdk/connect/interfaces/Syncing.md create mode 100644 docs/sdk/connect/type-aliases/AbiInput.md create mode 100644 docs/sdk/connect/type-aliases/AbiOutput.md create mode 100644 docs/sdk/connect/type-aliases/AccessList.md delete mode 100644 docs/sdk/connect/type-aliases/Callback.md create mode 100644 docs/sdk/connect/type-aliases/CeloContract.md delete mode 100644 docs/sdk/connect/type-aliases/CeloTransactionParams.md delete mode 100644 docs/sdk/connect/type-aliases/CeloTx.md delete mode 100644 docs/sdk/connect/type-aliases/CeloTxPending.md delete mode 100644 docs/sdk/connect/type-aliases/CeloTxReceipt.md create mode 100644 docs/sdk/contractkit/functions/newKitFromProvider.md delete mode 100644 docs/sdk/contractkit/functions/newKitFromWeb3.md delete mode 100644 docs/sdk/contractkit/type-aliases/CeloToken.md delete mode 100644 docs/sdk/cryptographic-utils/functions/formatNonAccentedCharacters.md create mode 100644 docs/sdk/utils/@celo/namespaces/AddressUtils/functions/isValidChecksumAddress.md create mode 100644 docs/sdk/utils/@celo/namespaces/AddressUtils/functions/toChecksumAddress.md delete mode 100644 docs/sdk/utils/@celo/namespaces/AddressUtils/variables/isValidChecksumAddress.md delete mode 100644 docs/sdk/utils/@celo/namespaces/AddressUtils/variables/toChecksumAddress.md diff --git a/docs/command-line-interface/account.md b/docs/command-line-interface/account.md index d897a98e71..d911a3a145 100644 --- a/docs/command-line-interface/account.md +++ b/docs/command-line-interface/account.md @@ -106,7 +106,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/authorize.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/authorize.ts)_ +_See code: [src/commands/account/authorize.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/authorize.ts)_ ## `celocli account:balance ARG1` @@ -146,7 +146,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/balance.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/balance.ts)_ +_See code: [src/commands/account/balance.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/balance.ts)_ ## `celocli account:claim-account ARG1` @@ -216,7 +216,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-account.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-account.ts)_ +_See code: [src/commands/account/claim-account.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-account.ts)_ ## `celocli account:claim-domain ARG1` @@ -282,7 +282,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-domain.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-domain.ts)_ +_See code: [src/commands/account/claim-domain.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-domain.ts)_ ## `celocli account:claim-keybase ARG1` @@ -348,7 +348,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-keybase.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-keybase.ts)_ +_See code: [src/commands/account/claim-keybase.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-keybase.ts)_ ## `celocli account:claim-name ARG1` @@ -414,7 +414,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-name.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-name.ts)_ +_See code: [src/commands/account/claim-name.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-name.ts)_ ## `celocli account:claim-rpc-url ARG1` @@ -480,7 +480,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-rpc-url.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-rpc-url.ts)_ +_See code: [src/commands/account/claim-rpc-url.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-rpc-url.ts)_ ## `celocli account:claim-storage ARG1` @@ -546,7 +546,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/claim-storage.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/claim-storage.ts)_ +_See code: [src/commands/account/claim-storage.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/claim-storage.ts)_ ## `celocli account:create-metadata ARG1` @@ -611,7 +611,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/create-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/create-metadata.ts)_ +_See code: [src/commands/account/create-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/create-metadata.ts)_ ## `celocli account:deauthorize` @@ -678,7 +678,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/deauthorize.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/deauthorize.ts)_ +_See code: [src/commands/account/deauthorize.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/deauthorize.ts)_ ## `celocli account:delete-payment-delegation` @@ -737,7 +737,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/delete-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/delete-payment-delegation.ts)_ +_See code: [src/commands/account/delete-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/delete-payment-delegation.ts)_ ## `celocli account:get-metadata ARG1` @@ -823,7 +823,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/get-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/get-metadata.ts)_ +_See code: [src/commands/account/get-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/get-metadata.ts)_ ## `celocli account:get-payment-delegation` @@ -910,7 +910,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/get-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/get-payment-delegation.ts)_ +_See code: [src/commands/account/get-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/get-payment-delegation.ts)_ ## `celocli account:list` @@ -966,7 +966,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/list.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/list.ts)_ +_See code: [src/commands/account/list.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/list.ts)_ ## `celocli account:lock ARG1` @@ -1024,7 +1024,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/lock.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/lock.ts)_ +_See code: [src/commands/account/lock.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/lock.ts)_ ## `celocli account:new` @@ -1115,7 +1115,7 @@ FLAG DESCRIPTIONS path. (use changeIndex, and addressIndex flags to change BIP44 positions 4 and 5) ``` -_See code: [src/commands/account/new.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/new.ts)_ +_See code: [src/commands/account/new.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/new.ts)_ ## `celocli account:proof-of-possession` @@ -1178,7 +1178,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/proof-of-possession.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/proof-of-possession.ts)_ +_See code: [src/commands/account/proof-of-possession.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/proof-of-possession.ts)_ ## `celocli account:register` @@ -1243,7 +1243,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/register.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/register.ts)_ +_See code: [src/commands/account/register.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/register.ts)_ ## `celocli account:register-data-encryption-key` @@ -1306,7 +1306,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/register-data-encryption-key.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/register-data-encryption-key.ts)_ +_See code: [src/commands/account/register-data-encryption-key.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/register-data-encryption-key.ts)_ ## `celocli account:register-metadata` @@ -1399,7 +1399,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/register-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/register-metadata.ts)_ +_See code: [src/commands/account/register-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/register-metadata.ts)_ ## `celocli account:set-name` @@ -1462,7 +1462,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/set-name.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/set-name.ts)_ +_See code: [src/commands/account/set-name.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/set-name.ts)_ ## `celocli account:set-payment-delegation` @@ -1529,7 +1529,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/set-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/set-payment-delegation.ts)_ +_See code: [src/commands/account/set-payment-delegation.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/set-payment-delegation.ts)_ ## `celocli account:set-wallet` @@ -1601,7 +1601,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/set-wallet.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/set-wallet.ts)_ +_See code: [src/commands/account/set-wallet.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/set-wallet.ts)_ ## `celocli account:show ARG1` @@ -1635,7 +1635,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/show.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/show.ts)_ +_See code: [src/commands/account/show.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/show.ts)_ ## `celocli account:show-claimed-accounts ARG1` @@ -1690,7 +1690,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/show-claimed-accounts.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/show-claimed-accounts.ts)_ +_See code: [src/commands/account/show-claimed-accounts.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/show-claimed-accounts.ts)_ ## `celocli account:show-metadata ARG1` @@ -1735,7 +1735,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/show-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/show-metadata.ts)_ +_See code: [src/commands/account/show-metadata.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/show-metadata.ts)_ ## `celocli account:unlock ARG1` @@ -1804,7 +1804,7 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/unlock.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/unlock.ts)_ +_See code: [src/commands/account/unlock.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/unlock.ts)_ ## `celocli account:verify-proof-of-possession` @@ -1871,4 +1871,4 @@ FLAG DESCRIPTIONS mainnet, celo, forno => Celo Mainnet chain', ``` -_See code: [src/commands/account/verify-proof-of-possession.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%408.0.3/packages/cli/src/commands/account/verify-proof-of-possession.ts)_ +_See code: [src/commands/account/verify-proof-of-possession.ts](https://github.com/celo-org/developer-tooling/tree/%40celo/celocli%409.0.0/packages/cli/src/commands/account/verify-proof-of-possession.ts)_ diff --git a/docs/command-line-interface/bridge.md b/docs/command-line-interface/bridge.md new file mode 100644 index 0000000000..d1078e8494 --- /dev/null +++ b/docs/command-line-interface/bridge.md @@ -0,0 +1,388 @@ +`celocli bridge` +================ + +Bridge CELO between Ethereum (L1) and Celo (L2) + +* [`celocli bridge:deposit`](#celocli-bridgedeposit) +* [`celocli bridge:withdraw-finalize`](#celocli-bridgewithdraw-finalize) +* [`celocli bridge:withdraw-init`](#celocli-bridgewithdraw-init) +* [`celocli bridge:withdraw-prove`](#celocli-bridgewithdraw-prove) +* [`celocli bridge:withdraw-status`](#celocli-bridgewithdraw-status) + +## `celocli bridge:deposit` + +Deposit CELO from Ethereum (L1) to Celo (L2). This bridges your CELO tokens to the Celo L2 network. + +``` +USAGE + $ celocli bridge:deposit --from 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d --value + 10000000000000000000000 --network mainnet|sepolia --l1RpcUrl [-k | + --useLedger | ] [-n ] [--gasCurrency + 0x1234567890123456789012345678901234567890] [--ledgerAddresses ] + [--ledgerLiveMode ] [--globalHelp] [--to 0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d] + [--gasLimit ] + +FLAGS + -k, --privateKey= + Use a private key to sign local transactions with + + -n, --node= + URL of the node to run commands against or an alias + + --from=0xc1912fEE45d61C87Cc5EA59DaE31190FFFFf232d + (required) Address of the sender on L1 + + --gasCurrency=0x1234567890123456789012345678901234567890 + Use a specific gas currency for transaction fees (defaults to CELO if no gas + currency is supplied). It must be a whitelisted token. + + --gasLimit= + [default: 100000] Gas limit for the L2 transaction + + --globalHelp + View all available global flags + + --l1RpcUrl= + (required) RPC URL for the Ethereum L1 network + + --ledgerAddresses= + [default: 1] If --useLedger is set, this will get the first N addresses for local + signing + + --ledgerLiveMode + When set, the 4th postion of the derivation path will be iterated over instead of + the 5th. This is useful to use same address on you Ledger with celocli as you do on + Ledger Live + + --network=