This boilerplate was created to encourage and help developers bootstrap a FUSION application as fast as possible. With several code snippets available this boilerplate gives a good example on how to utilize FUSION's functions.
This project was bootstrapped with Create React App.
Clone this repository
$ git clone https://github.com/FUSIONFoundation/boilerplate-react.git
$ cd boilerplate-react
Install all dependencies
$ npm i
Start the application
$ npm start
Your browser will open localhost:3000
Edit the Fusion component found in Components/
In this boilerplate we have added several functions to ensure any developer can get started by looking at the code examples. Therefore we decided to integrate three functions: Send Asset, Create Asset and Get Address By Notation. The function to create an account object from a Private Key is also included. Several other utility functions were added on how to format a balance, format a given amount in wei and whether a user owns a certain asset.
Please, refer to the FUSION API Documentation to view all available functions. Also, if you are having any troubles or you have any questions on how to utilize the protocol, feel free to join our Developers Community on Telegram.
If you are experiencing any issues or have any suggestions we would be glad to hear from you.