
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@cometh/hosted-sdk
Advanced tools
npm install @cometh/connect-hosted-sdk
import { ComethWallet, ComethProvider, ComethSigner } from '@cometh/connect-hosted-sdk'
It is required to call this function before any others.
This function initialize the communication with the Cometh Connect wallet and verify that the wallet exist. In order to create a wallet, the user must register on Cometh OIDC.
const wallet = new ComethWallet(apiKey)
await wallet.connect()
wallet.getAddress()
This function returns the address of the wallet.
const txParams = { to: DESTINATION, value: VALUE, data: DATA }
const tx = await wallet.sendTransaction(txParams)
This function relays the transaction data to the target address. The transaction fees can be sponsored. The function returns the safeTxHash of the transaction which can be used to wait for the Transaction receipt.
const txReceipt = await provider.waitTransaction(tx.safeTxHash)
This function relays the transaction data to the target address. The transaction fees can be sponsored.
const signature = await wallet.signMessage('hello')
Sign the given message using the EOA, owner of the smart wallet.
FAQs
SDK Cometh Hosted-Connect
The npm package @cometh/hosted-sdk receives a total of 58 weekly downloads. As such, @cometh/hosted-sdk popularity was classified as not popular.
We found that @cometh/hosted-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.