Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@cryptosat/cryptosim
Advanced tools
Readme
Our mission at Cryptosat is to build satellites that power cryptographic, blockchain and ledger applications. We believe that satellites possess unique properties that make them well suited for these tasks and by launching such computational platforms into space we can unlock new and exciting opportunities in the realm of security and crypto.
This repository contains a simulation library which simulates the operation of Cryptosat. This includes simulation of the satellite orbital trajectory and its position over time. As a developer, you can learn about the cryptographic functions our satellites will provide and start integrating your project and protocols with our APIs. When you (and Cryptosat) are ready - you can turn the switch to start communicating with the actual satellite.
The library is published at the yarn online package index as @cryptosat/cryptosim
. To include it in your own project run:
yarn install @cryptosat/cryptosim
You can import the required classes from the library as needed. The snippet below demonstrates how to construct a cryptosat API client for a single satellite following the celestial orbit of the international space station. Check out the online tutorial to get started using the cryptosat API.
const clock = new SimulatedClock(new Date());
clock.play();
const universe = new Universe(clock);
const ISS_TLE = [
'1 25544U 98067A 21027.77992426 .00003336 00000-0 68893-4 0 9991',
'2 25544 51.6465 317.1909 0002399 302.6503 164.1536 15.48908950266831',
];
const sat = new Satellite(universe, /* functional= */ 1, 'crypto1', ISS_TLE[0], ISS_TLE[1]);
const gsnetwork = GroundStationNetwork.load(
universe, require('@cryptosat/cryptosim/data/rbcNetwork'));
const service = new MainService(universe);
sat.bindService('main', service);
cryptosat = new MainClient(universe, sat, gsnetwork, 'main');
After cloing the directory install the project dependencies using:
yarn install
The project uses the jest testing framework. To execute the test suite run:
yarn test
Check for lint errors with:
yarn lint
FAQs
simulate the operation of cryptosatellites
The npm package @cryptosat/cryptosim receives a total of 1 weekly downloads. As such, @cryptosat/cryptosim popularity was classified as not popular.
We found that @cryptosat/cryptosim 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.