@applicature/ngx-web3-synergy
v1.0.4
Published
This library was created and maintained by [**Applicature**](https://applicature.com/) to help create a front-end on any blockchain projects for ourselves, our partners or any blockchain developer. This library supports Angular from version 13 and higher.
Downloads
8
Readme
Web3 Synergy
This library was created and maintained by Applicature to help create a front-end on any blockchain projects for ourselves, our partners or any blockchain developer. This library supports Angular from version 13 and higher.
Documentation
For more information visit the documentation.
Library installation
npm i @applicature/styles @applicature/ngx-web3-synergy
How to make it works
styles.scss
@import "~node_modules/@applicature/styles/src/lib/scss/as-styles";
or
Add node_modules/@applicature/styles/src/lib/scss/as-styles
to angular.json file, path projects.YOUR_PROJECT_NAME.architect.build.options.styles:
polyfills.ts
Install process if it needs
npm i process
Fixing Build errors
- add next option to tsconfig.json:
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case for Angular 13+. Verify if you need this module and configure a polyfill for it.
Solution:
npm i -D crypto-browserify stream-browserify assert stream-http https-browserify os-browserify buffer process util url
tsconfig.json
or add the next to the package.json
How to use
This Library uses @web3-onboard/core for the connection wallet. So you can visit their documentation for more details.
- install wallets. Like example
npm i @web3-onboard/walletconnect
- app.module.ts
WARNINGS
You might need to add allowedCommonJsDependencies
to angular.json
file:
Contributing
This project is maintained by a community of developers. Contributions are welcome and appreciated. You can find Web3 Synergy on GitHub; feel free to open an issue or create a pull request: