
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@canton-network/example-portfolio
Advanced tools
A feature-rich dApp showcasing a wallet portfolio built with the @canton-network/dapp-sdk. Built with React + TypeScript + Vite + MUI + TanStack Router/Query.
http://localhost:3030)First, install and build dependencies from the repository root:
yarn install
yarn build:all
Then start the dev server from this directory:
cd examples/portfolio
yarn dev
Or from the repository root:
yarn workspace @canton-network/example-portfolio dev
The app will be available at http://localhost:8081.
The app loads config.json at startup and validates it before rendering. The local/default config is in public/config.json:
{
"amulet": {
"validatorUrl": "http://localhost:2000/api/validator",
"registry": "http://scan.localhost:4000/registry/"
},
"token": {
"validatorUrl": "http://localhost:2000/api/validator",
"registries": [
{
"name": "DA Registry",
"partyId": "operator::1234567890",
"url": "https://apps.da.com/registrar/operator::1234567890/"
}
]
}
}
The amulet section configures Canton Coin (Amulet) operations. The token section configures token-standard operations and default registries. Registry partyId values are optional; when omitted, the app discovers the registry admin party from the registry metadata endpoint.
For static or Docker deployments, replace or mount /config.json.
Alternatively, start all services (Wallet Gateway + example dApps) together from the repository root:
yarn start:all # starts all services via pm2
yarn stop:all # stops all services
See the dApp Building Guide for full documentation on the dApp SDK, Wallet Gateway configuration, APIs, and signing providers.
FAQs
Unknown package
The npm package @canton-network/example-portfolio receives a total of 256 weekly downloads. As such, @canton-network/example-portfolio popularity was classified as not popular.
We found that @canton-network/example-portfolio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.