open-index/open-npm huggingface dataset:
npm package: @nextcrew/nwf
Description: ## Project setup ``` npm install ```
Latest version: 1.0.50

# nwf

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

### Compiling the SCSS
Using Koala, compile all scss to css
npm package: @nextdefihub/apps-react-sdk
Description: React SDK for DefiHub Apps
Author: DefiHub
Latest version: 1.0.3

# DefiHub Apps React SDK

[![npm](https://img.shields.io/npm/v/@nextdefihub/apps-react-sdk)](https://www.npmjs.com/package/@nextdefihub/apps-react-sdk)

This SDK should provide a simple way to write a React.js DefiHub App

### How to use

- Add npm package

```bash
yarn add @nextdefihub/apps-react-sdk

npm i @nextdefihub/apps-react-sdk
```

- Add `DefiHubProvider`
  DefiHub provider accepts `loader` and `options` props

```js
// ... other imports
import DefiHubProvider from "@nextdefihub/apps-react-sdk";

ReactDOM.render(
  <React.StrictMode>
    <DefiHubProvider>
      <App /> // Your app
    </DefiHubProvider>
  </React.StrictMode>,
  document.getElementById("root")
);
```

- Use DefiHub Apps SDK Hook

```js
// ... other imports
import { useDefiHubAppsSDK } from "@nextdefihub/apps-react-sdk";

const App = () => {
  const { sdk, connected, meta } = useDefiHubAppsSDK();
  return <div>{meta.account}</div>;
};
```

### Usages

#### Send transactions

```js
import { BaseTransaction } from "@nextdefihub/apps-sdk";

const txs: BaseTransaction[] = [
  {
    to: "0x31415629...",
    value: "0",
    data: "0xbaddad",
  },
  //...
];
// Returns a hash to identify the Meta transaction
const metaTxHash: string = await sdk.txs.send({ txs });
```

#### Load Meta transaction information

```js
const metaTx: MetaTransaction = await sdk.txs.getByMetaTxHash(metaTxHash);
```