Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@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.
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.