open-index/open-npm huggingface dataset:
npm package: @patract/ceres-browser
Description: Run ink! contract in browser!
Latest version: 0.1.4

# Ceres

> Run ink! contract anywhere

A browser implementation of ceres


## Example

```typescript
import Flipper from "./flipper.json";

(async () => {
    const wasm = await import("@patract/ceres-browser").catch(console.error);
    const { Runtime } = wasm && (await wasm.default);

    // create monitor
    console.log("hello, this is a template of ceres");

    // load contract
    const contract = new Runtime(JSON.stringify(Flipper));
    console.log("...init contract to storage");

    // deploy contract
    (contract as any).deploy("default", "[]", null);
    console.log("...deploy contract");

    // call contract
    const res = contract.call("get", "[]", null);
    console.log(`call contract...${res}`);
})();
```

## LICENSE

Apache-2.0
npm package: @patract/dev
Description: A collection of shared CI scripts and development environment used by @polkadot projects
Author: Jaco Greeff
Latest version: 0.5.22

# @polkadot/dev

A collection of shared CI scripts and development environment (configuration, dependencies) used by [@polkadot](https://polkadot.js.org) projects. Included here -

- [style config](config/) Common configurations for [Babel](https://babeljs.io/), [ESLint](https://eslint.org/), [Jest](https://facebook.github.io/jest/).
- [flow definitions](flow-typed/) A collection of 3rd-party [flow](https://flow.org/) definitions used by libraries and projects.
- [build scripts](scripts/) Build scripts that take care of generating documentation, publishing to npm and other common tasks.