![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@keyban/sdk-base
Advanced tools
Keyban Javascript SDK provides core functionalities for the MPC wallet solution, supporting web and Node.js apps with TypeScript, custom storage, and Ethereum blockchain integration.
The Keyban JavaScript SDK provides the core functionality for Keyban's MPC wallet solution, simplifying the development of web and Node.js applications. It offers essential configurations, utilities, and functions that serve as the foundation for creating decentralized wallet experiences.
tsup
for optimized builds in development and production.npm install @keyban/sdk-base
import { KeybanClient, KeybanChain, KeybanAccount } from '@keyban/sdk-base';
const client = new KeybanClient({
appId: "your-keyban-app-id", // Your Keyban application ID
chain: KeybanChain.EthereumAnvil, // Select the desired blockchain network
});
const account: KeybanAccount = await client.initialize();
const transferEstimate = await account.estimateTransfer("0xRecipientAddress", BigInt('1000000000000000000')); // 1 ETH in wei
await account.transfer("0xRecipientAddress", BigInt('1000000000000000000'));
console.log(`Transferred 1 ETH to 0xRecipientAddress`);
const tokenBalances = await client.getTokenBalances(account.address);
console.log('ERC-20 Token Balances:', tokenBalances);
const erc20Estimate = await account.estimateERC20Transfer({
contractAddress: "0xTokenContractAddress", // ERC-20 contract address
to: "0xRecipientAddress", // Recipient address
value: BigInt('500000000000000000'), // Amount to transfer (0.5 tokens in wei)
});
await account.transferERC20({
contractAddress: "0xTokenContractAddress",
to: "0xRecipientAddress",
value: BigInt('500000000000000000'),
});
console.log(`Transferred 0.5 tokens to 0xRecipientAddress`);
const nfts = await client.getNfts(account.address);
console.log('Owned NFTs:', nfts);
const nftEstimate = await account.estimateNftTransfer({
contractAddress: "0xNftContractAddress",
to: "0xRecipientAddress",
tokenId: BigInt(1), // Token ID
standard: 'ERC721', // 'ERC721' or 'ERC1155'
});
await account.transferNft({
contractAddress: "0xNftContractAddress",
to: "0xRecipientAddress",
tokenId: BigInt(1),
standard: 'ERC721',
});
console.log(`Transferred NFT with Token ID 1 to 0xRecipientAddress`);
The Keyban SDK supports the following blockchains:
KeybanChain.EthereumAnvil
KeybanChain.PolygonAmoy
KeybanChain.StarknetDevnet
KeybanChain.StarknetSepolia
Support for additional blockchains and mainnets will be introduced in future releases.
Developers can define their own storage and signing strategies. The SDK offers flexibility with custom storage mechanisms, and future releases will bring more built-in storage options.
For more detailed API references and advanced features, visit the official Keyban API Reference Portal.
FAQs
Keyban Javascript SDK provides core functionalities for the MPC wallet solution, supporting web and Node.js apps with TypeScript, custom storage, and Ethereum blockchain integration.
The npm package @keyban/sdk-base receives a total of 140 weekly downloads. As such, @keyban/sdk-base popularity was classified as not popular.
We found that @keyban/sdk-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.