Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.