
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@ligolang/compact-ligo-ide
Advanced tools
A React component for embedding Ligo code snippets on a page.
yarn add @ligolang/compact-ligo-ide
CompactLigoIde
component to a pageimport { Code, CompactLigoIde, Result } from "@ligolang/compact-ligo-ide";
<CompactLigoIde language="cameligo">
<Code>
{`type storage = int
(* variant defining pseudo multi-entrypoint actions *)
type action =
| Increment of int
| Decrement of int
let add (a,b: int * int) : int = a + b
let sub (a,b: int * int) : int = a - b
(* real entrypoint that re-routes the flow based on the action provided *)
let main (p,s: action * storage) =
let storage =
match p with
| Increment n -> add (s, n)
| Decrement n -> sub (s, n)
in ([] : operation list), storage
`}
</Code>
<Compile>
<Entrypoint>main</Entrypoint>
</Compile>
<DryRun>
<Entrypoint>main</Entrypoint>
<Parameter>Increment 1</Parameter>
<Storage>0</Storage>
</DryRun>
<Deploy>
<Entrypoint>main</Entrypoint>
<Storage>0</Storage>
</Deploy>
</CompactLigoIde>;
<style type="text/css">
.compactLigoIde {
height: 600px;
width: 600px;
}
</style>
<Code>
<Compile>
<DryRun>
<Deploy>
<EvaluateFunction>
<EvaluateValue>
<Entrypoint>
<Parameter>
<Storage>
yarn install
yarn start
Run yarn build
.
Run npm publish --access=public
.
FAQs
A React component for embedding Ligo code snippets on a page.
The npm package @ligolang/compact-ligo-ide receives a total of 1 weekly downloads. As such, @ligolang/compact-ligo-ide popularity was classified as not popular.
We found that @ligolang/compact-ligo-ide demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.