Code Monkey home page Code Monkey logo

weshnet-expo's Introduction

Berty

Wesh Network Expo Module

๐Ÿšง This project is work In Progress. This library cannot be used yet.

discord github twitter

The Wesh network toolkit lets your application use the Wesh protocol to support privacy-based, off-grid, peer-to-peer communication.

For details, see the Wesh website at https://wesh.network. The website includes blog tutorials which introduce you to Wesh and walk you through some example applications and background of the Wesh protocol.


Requirements

  • Go >= 1.19.7

Instalation

Install the package in your project:

    # Expose ios and android native modules
    # Ignore this step if you already have the 'ios' and 'android' folders in your project.
    $ npx expo prebuild 

    # Install the package
    $ npx expo install @berty/weshnet-expo

    # Install the pods (it will run gomobile bind)
    $ cd ios && pod install

    # Run the app
    $ npx expo run:ios

Usage

Add the following to your App.js:

import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import * as WeshnetExpo from '@berty/weshnet-expo';

export default function App() {
  return (
    <View style={styles.container}>
      <Text>{WeshnetExpo.hello('berty')}</Text>
      <Text>Open up App.js to start working on your app!</Text>
      <StatusBar style="auto" />
    </View>
  );
}

Contributing

Contribute to Berty

If you want to help out, please see docs/developer-guide.md and CONTRIBUTING.md.

This repository falls under the Berty Code of Conduct.

You can contact us on the #questions-โ“ channel on discord.

License

Dual-licensed under Apache 2.0 and MIT terms.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

See the COPYRIGHT file for more details.

weshnet-expo's People

Contributors

d4ryl00 avatar gfanton avatar iuricmp avatar jefft0 avatar lfgaming avatar moul avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.