
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
@orbs-network/contracts-js
Advanced tools
Provides easy to use JS (TS) interfaces to interact with the Orbs Ethereum contracts
Orbs contracts js is a library that provides easy to use interfaces to communicate with the Orbs contracts that are deployed on the Ethereum blockchain.
npm install @orbs-network/contracts-js
1.Initialize a web3 object (in this specific example we will use the 'ethereum provider' injected by MetaMask)
// MetaMask injects an ethereum provider straight to the window
import Web3 from "web3";
const ethereumProvider = (window as any).ethereum;
const web3 = new Web3(ethereumProvider as any);
2.Initialize an instance of a service (They all have the same constructor parameters)
import { IOrbsTokenService, OrbsTokenService } from '@orbs-network/contracts-js';
const orbsTokenService: IOrbsTokenService = new OrbsTokenService(web3);
3.Use the service to interact with the ethereum contracts in a js native way -- easy and convenient way to interact with the contracts that are deployed on Ethereum.
// Lets say this address holds 5,000 orbs
const myOrbsAccountAddress = '0x12BF4263560Ce9a3cADD20B0b36208d131b64f87';
const balance = await orbsTokenService.readBalance(myOrbsAccountAddress);
// will print "5000"
console.log(balance)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Provides easy to use JS (TS) interfaces to interact with the Orbs Ethereum contracts
The npm package @orbs-network/contracts-js receives a total of 1 weekly downloads. As such, @orbs-network/contracts-js popularity was classified as not popular.
We found that @orbs-network/contracts-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.