Git Product home page Git Product logo

turnt-tls's People

Contributors

danielbrzn avatar hypephilosophy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

turnt-tls's Issues

Not working on my website

Hello!
I tested your tls client today and i think i'm doing something wrong!

`let options1 = {
method: 'POST',
cookieJar: cookieJar,
data: {"address": "0xD74749E4372ec4F49CEeC554Ea09DA51e1Bc03cB"},
headers: {
'authority': 'api-mainnet.magiceden.io',
'accept': 'application/json, text/plain, /',
'accept-encoding': 'gzip, deflate, br',
'accept-language': 'de-DE,de-AT;q=0.9,de;q=0.8,en-US;q=0.7,en;q=0.6',
'content-type': 'application/json',
'origin': 'https://magiceden.io',
'referer': 'https://magiceden.io/',
'sec-ch-ua': '"Chromium";v="106", "Google Chrome";v="106", "Not;A=Brand";v="99"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'same-site',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36',
},
}

let GetResp = await turnt("https://api-mainnet.magiceden.io/v2/xc/login/v2/init", options1)`

Normally you should get an answer similar to '{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjoiMHhENzQ3NDlFNDM3MmVjNEY0OUNFZUM1NTRFYTA5REE1MWUxQmMwM2NCIiwibm9uY2UiOiJCMXVRTC10a3lzIiwibWVzc2FnZSI6Ik1hZ2ljIEVkZW4gd2FudHMgeW91IHRvIHNpZ24gaW4gd2l0aCB5b3VyIEV0aGVyZXVG9saWN5OiBcml2YWN5LXBvbGljeS5wZGZcblxuVVJJOiBodHRwczovL21hZ2ljZWRlbi5pb1xuVmVyc2lvbjogMVxuQ2hhaW4gSUQ6IDFcbk5vbmNlOiBCMXVRTC10a3lzXG5Jc3N1ZWQgQXQ6IDIwMjItMTAtMDZUMDc6NTI6NDEuODg3WiIsImlzc3VlZEF0IjoiMjAyMi0xMC0wNlQwNzo1Mjo0MS44ODdaIiwiaWF0IjoxNjY1MDQyNzYxLCJleHAiOjE2NjUwNDI4MjF9.UVM5-LdAQ_5iqsmj9-ndZ3rA8iD2bF7DSD6ARn9BXa4","nonce":"B1uQL-tkys","message":"Magic Eden wants you to sign in with your Ethereum account: 0xD74749E4372ec4F49CEeC554Ea09DA51e1Bc03cB\n\nClick \"Sign\" or \"Approve\" only means you have proved this wallet is owned by you.\n\nThis request will not trigger any blockchain transaction or cost any gas fee.\n\nUse of our website and service are subject to our Terms of Service: https://magiceden.io/terms-of-service.pdf and Privacy Policy: https://magiceden.io/privacy-policy.pdf\\n\\nURI: https://magiceden.io\\nVersion: 1\nChain ID: 1\nNonce: B1uQL-tkys\nIssued At: 2022-10-06T07:52:41.887Z"}'

Would be wonderful if you could help me!

Error in the Code.

Error: Dynamic Linking Error: ***.../node_modules/turnt-tls/golang/goturnt.so: invalid ELF header

Issues on M1 Devices

Hello, is there any way to get the client to work on M1 devices? I have tried it with both m1 and m1 max devices to no avail, simply receiving the "mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')" prompt. Also tried building it with the same issue.

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.