
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@alembic/account-abstraction-sdk
Advanced tools
Alembic Account Abstraction SDK allows developers to onboard their users with a seedless, gasless experience familiar to Web2.
Account Abstraction (AA) improves transaction user experience by using smart contract wallets as primary accounts. Our solution is compatible with EIP-4337.
import { AlembicWallet, UserInfos } from "@alembic/account-abstraction-sdk";
const wallet = new AlembicWallet({
chainId: CHAIN_ID
rpcTarget: RPC_URL
apiKey: API_KEY,
});
To get an API key please Contact us
await wallet.connect()
This function pops up the social login modal on UI.
await wallet.logout()
This function logs the user out and clears the cache.
await wallet.getAddress()
This function returns the address of the wallet.
await wallet.getUserInfos()
If the user is logged in with social media accounts, this function can be used to fetch user related data such as email, etc.
const tx = { to: DESTINATION, value: VALUE, data: DATA }
const relayId = await wallet.sendTransaction(tx)
This function relays the transaction data to the target address. The transaction fees can be sponsored.
const transactionStatus = await wallet.getRelayTxStatus(relayId)
// TransactionStatus:{hash: string, status: string}
Returns the current transaction hash and the status of the relay (sent, mined, confirmed)
const signature = await wallet.signMessage('hello')
Sign the given message using the EOA, owner of the smart wallet.
FAQs
SDK Alembic tech
We found that @alembic/account-abstraction-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.