
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@okjodom/fm-server
Advanced tools
Library for building server-side or CLI apps with a Fedimint client. Good for Node, Bun and similar runtimes
Fedimint SDK optimized for Node.js/Bun server environments.
npm install @fedimint/server
# or
yarn add @fedimint/server
# or
pnpm add @fedimint/server
// ESM
import { FedimintWallet } from '@fedimint/server'
import { LevelDBStorage } from '@fedimint/server/storage'
// CommonJS
const { FedimintWallet } = require('@fedimint/server')
const { LevelDBStorage } = require('@fedimint/server/storage')
// Initialize with Node.js optimized settings
const wallet = new FedimintWallet({
storageAdapter: new LevelDBStorage('./data'),
logLevel: 'info',
})
// Use the API the same way as in browser
await wallet.initialize()
await wallet.open('my-fedimint-client')
// Make module calls
const balance = await wallet.balance.getBalance()
console.log('Balance:', balance)
// Use Lightning module
const invoice = await wallet.lightning.createInvoice(1000, 'Test payment')
console.log('Invoice:', invoice)
import { LevelDBStorage } from '@fedimint/server/storage'
const storage = new LevelDBStorage('./data', {
createIfMissing: true,
})
const wallet = new FedimintWallet({
storageAdapter: storage,
})
import { FileStorage } from '@fedimint/server/storage'
const storage = new FileStorage('./data')
const wallet = new FedimintWallet({
storageAdapter: storage,
})
You can implement your own storage adapter by implementing the StorageAdapter
interface:
import { StorageAdapter, Transaction } from '@fedimint/server/storage'
class MyCustomStorage implements StorageAdapter {
// Implementation
}
MIT
FAQs
Library for building server-side or CLI apps with a Fedimint client. Good for Node, Bun and similar runtimes
We found that @okjodom/fm-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.