🧰 [Plugin] Web3 manager (frontend & backend) by NovaBloq

I didn’t get a specific error, it just returns an error, I did the step by step and everything was fine, including I used the same ABI and Bytecode in the Metamask web3 plugin and it worked.

Well in order to help you I need to know what kind of error, what does it says, when and where it appears. Send a screenshot, please.

Andrew, can you add “TransferFrom” function in this plugin?

Sure, will add in next updates.

FYI
while we are working on it, you can already run this function using the action Write Smart Contract :wink:
This action is universal and can run any function you want basically.

Andrew, can you add “To Wei and From Wei” for backend workflow in this plugin? this function is available only maganer element.

Update v.1.8

Added To/From Wei actions for Backend workflow

Hi Andrew, the plugin is returning this error, even putting a valid private key.

Could you check this error please.

What format of private key are you using? If this is mnemonic, make sure it is exactly as it should be in the correct order and including spaces.

Otherwise, try to generate a new key and test it on our demo page. If it works, then something is wrong with the syntax of your main key

Update v.1.9

New features for frontend element

  • Transfer From
  • Approve
  • New events: Transfer From sent Successfully, Approved successfully

Later they will be added for the backend as well.

Hi Andrew, how you doing?

Can you add the function “Check Allowance” in this plugin?

Hey Andrew, thanks a lot for this gem/plugin :slight_smile:

My issue:
I’m trying to generate a wallet and save the address and private key in the bubble DB using one workflow, but it doesn’t work:

  • address and key are generated correctly

  • but they don’t get saved in the DB

  • I also tried to place wallet address and key in two input fields and retrieve values/save them, still it doesn’t work

  • Strangely if I run the workflow twice (clicking the button that generates the wallet), the second time works, but in the DB I’ve got 2x wallets (1x wallet with key/address empty, 1x wallet with key/address correctly saved)

BUT If I put key and address in those input fields and, with another workflow (triggered by another button), I retrieve input’s value and save them in the DB, then IT WORKS.

I’d like to generate and save the address/key in just one workflow.
Any idea on how to fix this?

Thanks,
Matteo

Hi Matteo!

The issue here is that the result of this action is not available instantly, try adding a pause between generating the wallet and saving it to database, for example add 300 milliseconds pause or more.

Ah thanks, I will try

Let me know if it helped, if no, I will take a look into it

@matteo
I did some testing, seems like a strange behaviour on Bubble side, even when adding a pause of 3 seconds.
When doing the same thing but with the Step by Step, it works perfectly fine.

I will add an event Wallet Generated, so you can save the new wallet when this event is triggered, this is the only way to solve this.

Yeah, I was doing some tests and experienced the same issue! Thanks man, you’re awesome

Hi! With this plugin can I see the balance/history of transactions of my users in a wallet, saving then in data base?

Hi Andrew! :slight_smile:
A couple of quick questions/issues:

QUESTION 1

  • Sometimes when I import the wallet and perform the action Get Balance OR Send Token I see this in the console,

Have you ever experienced this issue?

QUESTION 2

  • Why the available options for the plugin’s action “Switch Chain” are only Polygon and Ethereym? How about the other chains you support?
  • Is there a way I can switch chain programmatically in a workflow?

Thanks man!

Actually, I noticed that in your demo when clicking Load ETH Balance, sometimes I get the same error (see console in the screenshot)

:confused:

Yes, this is an RPC issue, try to use your own RPC URL, get one from MetaMask for example, or from Infura app.