This repository has been created as a starting point for all of those who are willing to integrate HbarSuite infrastructure and services. Our wish is to facilitate developers and entrepreneurs in their web3 journey, and to provide a bootstrap tool for their own DAPPs.
Up to date the only available library is done in IonicFramework + Angular, but we hope more developers will soon contribute to implement our technology in many different languages. If you are a developer and you're willing to help us out, please write us on Discord or send us an Email, there is an HSUITE reward waiting for good-skilled developers!!
simply do a checkout of this repository, then run:
$ npm installIn order to run the application locally, enter the command:
ionic serveinside the environments files located at
dapp/src/environments/environment.ts
dapp/src/environments/environment.prod.tsyou can list the tokens you wish to use in the launchpad and dao sections. This will facilitate you in filtering out all the tokens/daos which are not related to your own project.
If you wish to deploy your own DAPP, we strongly recommend you to use Firebase Hosting. This app is prepared to be a PWA (Progressive Web App), which means you can also add the icon to the home screen of mobile phones easily. In order to deploy it and use it, there are few steps needed:
1 - go to Firebase and create an application
2 - install the firebase tools in your local environment
npm install -g firebase-tools3 - login into firebase from your terminal
firebase login4 - run the configuration command
firebase initand configure it as follows:
"Which Firebase CLI features do you want to set up for this folder?"
Choose "Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys"
"What do you want to use as your public directory?"
Enter "www".
"Set up automatic builds and deploys with GitHub?"
Enter the option you prefer.
"Configure as a single-page app (rewrite all urls to /index.html)?"
Enter "Yes".
"File www/index.html already exists. Overwrite?"
Enter "No".
5 - send us an Email with your project and domain, because you won't be allowed to interact with the smart-nodes unless you're whitelsted first.
6 - you're now ready to deploy, the command is:
firebase use YOUR_APP_NAME_HERE && ionic build --prod && firebase deployPlease feel free to change the UI/CSS as you wish, to fully match your brand and colors.
There is no limitations on the use of the existing smart-node api, which you can find here:
TESTNET
Smart-Node-1
Smart-Node-2
Smart-Node-3
Smart-Node-4
MAINNET
Smart-Node-1
Smart-Node-2
Smart-Node-3
Smart-Node-4
Please DO NOT remove the footer in the menu section, credits to HbarSuite technology is a mandatory requirement.
DAPP Community Edition [HSuite Network - Open Source Licensed]