
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.
@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
The npm package @okjodom/fm-server receives a total of 0 weekly downloads. As such, @okjodom/fm-server popularity was classified as not popular.
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.
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.