Git Product home page Git Product logo

example-app-polymathjs's Introduction

Polymath

Polymath Example Polymathjs app

A boilerplate create-react-app example using the polymathjs npm module.

Read the whitepaper

In order to get the example running, clone this repo onto your local machine.

Then run npm install in the same folder as the package.json

After that, run npm start. Once the app is running, go into the browsers development console, and see the results of the calls we use from the polymathjs npm module. The code written can be found in App.js in the componentDidMount() function.

How the example app works

The example app is using the npm module for polymathjs. This allows you to use a javascript library, which connects to all possible function calls from the polymath core contracts.

The library can automatically detect if you are on the testnet or the mainnet. If you are using metamask and you choose one of the networks, all function calls will be directed to the following contract addresses:

Live on Ethereum Mainnet

Contract Address
PolyToken 0x9992eC3cF6A55b00978cdDF2b27BC6882d88D1eC
Compliance 0x076719c05961a0c3398e558e2199085d32717ca6
Customers 0xeb30a60c199664ab84dec3f8b72de3badf1837f5
SecurityTokenRegistrar 0x56e30b617c8b4798955b6be6fec706de91352ed0

Live on Ropsten testnet

Contract Address
PolyToken 0x96a62428509002a7ae5f6ad29e4750d852a3f3d7
Compliance 0xc7cff0abbdb57ed2204077d53836bcfbd05fe474
Customers 0x6ae8cb236a2badec68c030c9cef252a68989002f
SecurityTokenRegistrar 0x86535a0f5d0fa9552295b021ff95bca3fb74f523

Contributing

We're always looking for developers to join the polymath network. To do so we encourage developers to contribute by creating Security Token Offering contracts (STO) which can be used by issuers to raise funds. If your contract is used, you can earn POLY fees directly through the contract, and additional bonuses through the Polymath reserve fund.

If you would like to apply directly to our STO contract development team, please send your resume and/or portfolio to [email protected].

Styleguide

The polymath-core repo follows the style guide overviewed here: http://solidity.readthedocs.io/en/develop/style-guide.html

example-app-polymathjs's People

Contributors

davekaj 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.