perawallet / connect-examples

Example applications for `@perawallet/connect`
https://github.com/perawallet/connect
Apache License 2.0
3 stars 2 forks source link

How to setup vannila js perawallet setup? #1

Open nitingupta-123 opened 2 years ago

nitingupta-123 commented 2 years ago

I tried to https://github.com/perawallet/connect-examples/tree/main/VanillaJS in my local. but I couldn't as it uses npm package. How vanilla js can make use of npm packages?

yigiterdev commented 2 years ago

Hey @nitingupta-123, You can try it on the app which we created on the sandbox from here. If you want to try in your local machine, you should follow this steps.

  1. Run npm install in VanillaJS app directory with your terminal
  2. After downloading some packages, you can run the project with npm start and view it in your browser.

When using it with vanilla JS, we are working on it to be able to use it in all projects as <script src="..../@perawallet/connect"> and we plan to publish it soon.

Thank you!

abdulbarik commented 2 years ago

@yigiterdev Is there anyway to integrate PeraWallet with Angular/plain JS?