Coder Social home page Coder Social logo

Comments (4)

encoderlee avatar encoderlee commented on June 11, 2024

What's your problem?
What do you want to achieve?
waxjs demo:
https://github.com/encoderlee/eos_demo/blob/main/waxjs_demo/only_bill_first_authorizer.html

from eos_demo.

nht1610 avatar nht1610 commented on June 11, 2024

i use your code, everything ok, i want to merge my code use waxjs (which disappear popup) call contract via wax.api.transact with signature, there is anyway to include eos signature in await wax.api.transact.
If use transcation_args = await wax.api.signatureProvider.sign(sign_args); , approve popup will apear, i do not want that popup apear

from eos_demo.

encoderlee avatar encoderlee commented on June 11, 2024

image
if you use wax cloud wallet account and waxjs, the popup window will be apeared at least once, you can check the checkbox

Always sign those transactions on ....

then, the popup window will no longer appear.

if you don't want to see the popup window under any circumstances
you can look at what's going on inside the function 'wax.api.signatureProvider.sign'
It actually sends a POST request to 'https://public-wax-on.wax.io/wam/sign'
you can write code to send a POST request directly to 'https://public-wax-on.wax.io/wam/sign',
then you will get signatures without any popup window,
You don't even need a browser to run your javascript code,
You can even implement it using Python or NodeJS

how to send a POST request directly to 'https://public-wax-on.wax.io/wam/sign',
you can refer to my other code https://github.com/encoderlee/OpenAlien/blob/main/alien.py
see function 'wax_sign', but this is Python code

from eos_demo.

nht1610 avatar nht1610 commented on June 11, 2024

it work done !, thank you so much sir!

from eos_demo.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.