Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@abtnode/blocklet-services
Advanced tools
Aggregator to mount all blocklet services and make them work together.
yarn add @abtnode/blocklet-service
Then:
const createServer = require('@abtnode/service-server');
const ABTNode = require('@abtnode/core');
const node = ABTNode({ ...nodeOptions });
const server = createServer(node, { ...globalOptions });
node.onReady(() => {
server.listen(5000, () => {
console.log('ABT Node Service server ready on port 5000');
});
});
dataDir
, the loader and each service can have their own options, and the loader options are merged into service optionsPORT=3040
SKIP_PREFLIGHT_CHECK=true
# server only
ABT_NODE_SESSION_TTL="1d"
ABT_NODE_MODE="production"
ABT_NODE_SERVICE_PORT="3041"
# this should point to the data directory of node
ABT_NODE_DATA_DIR="/Users/wangshijun/Develop/arcblock/abt-node/.abtnode"
# both server and client
ABT_NODE_ROUTER_PROVIDER="nginx"
ABT_NODE_ADMIN_PATH="/admin"
ABT_NODE_NAME="ABT Node (Dev.Shijun)"
ABT_NODE_DESCRIPTION="Web Interface to manage your ABT Node"
ABT_NODE_DID="zNKaT2cjMMW4Js3hnBWUKPcdboQqrPUTWRat"
ABT_NODE_SERVICE_URL="http://192.168.199.142:3041"
# This should be updated to use a running blocklet in your node
TEST_BLOCKLET_DID="z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV"
TEST_BLOCKLET_URL="http://127.0.0.1:8090"
You need 2 terminal windows to start the client and server separately:
cd services/login
DEBUG=@abtnode/*,@arcblock/* npm run start:daemon
DEBUG=@abtnode/* npm run start:client
Now, you are ready to hacking the login service.
dependencies
devDependencies
FAQs
Provide unified services for every blocklet
The npm package @abtnode/blocklet-services receives a total of 695 weekly downloads. As such, @abtnode/blocklet-services popularity was classified as not popular.
We found that @abtnode/blocklet-services 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.