Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@terminal-packages/sdk
Advanced tools
export enum SoureTypes {
Terminal = 'Terminal',
Truffle = 'Truffle',
Alchemy = 'Alchemy'
}
import Web3 from 'web3';
import { TerminalHttpProvider, SoureTypes } from '@terminal-packages/sdk';
const web3 = new Web3(
new TerminalHttpProvider({
host: 'https://yourethnodeurl.io',
apiKey: 'yourApiKey',
source: SoureTypes.Terminal // source can be a dynamic string as well
})
);
import Web3 from 'web3';
import { TerminalHttpProvider } from '@terminal-packages/sdk';
const web3 = new Web3(
new TerminalHttpProvider({
host: 'https://yourethnodeurl.io',
apiKey: 'yourApiKey',
source: SoureTypes.Terminal // source can be a dynamic string as well
timeout: 10000,
headers: [{ name: 'x-custom-header' value: 'example' }],
withCredentials: true
})
);
import Web3 from 'web3';
import { TerminalHttpProvider } from '@terminal-packages/sdk';
const web3 = new Web3(
new TerminalHttpProvider({
apiKey: 'yourApiKey',
source: SoureTypes.Terminal // source can be a dynamic string as well
customHttpProvider: new YourCustomHttpProvider()
})
);
environment
can be passed in within any of the examples above:Environment type enum:
export enum EnvironmentTypes {
dev = 'dev',
staging = 'staging',
live = 'live'
}
import Web3 from 'web3';
import { TerminalHttpProvider, EnvironmentTypes } from '@terminal-packages/sdk';
const web3 = new Web3(
new TerminalHttpProvider({
host: 'https://yourethnodeurl.io',
apiKey: 'yourApiKey',
source: 'node source',
environment: EnvironmentTypes.dev
})
);
FAQs
Ethereum developer tool kit for the Terminal platform
The npm package @terminal-packages/sdk receives a total of 59 weekly downloads. As such, @terminal-packages/sdk popularity was classified as not popular.
We found that @terminal-packages/sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.