i want to make some fast local rarity sniffer on nft ton collections. how to get contracts of items from contract of collection? and is there a get function that returns the attributes of the item?

Jun 19, 2022, 9:23 PM
or if it already exists can someone link me it
Jun 19, 2022, 9:23 PM
https://tonmarket.org/
Jun 19, 2022, 9:40 PM
it's good but i think i'll have to automate this a bit so i'll try with rungetmethod of http api to get some info. reading .fc contracts it looks not hard
thx anyway
Jun 19, 2022, 10:07 PM
noice
Naive question: is an EVM possible on TON?
Jun 19, 2022, 10:26 PM
No. But it will be available by the end of 2022 because of Ethereum Workchain
Jun 19, 2022, 10:28 PM
Wow
I'm on fire
I'm a solidity dev, and I really like TON
So I'll probably make something on top of it
Jun 19, 2022, 10:29 PM
Learn FunC :)
Jun 19, 2022, 10:29 PM
Yeah I did learn a bit, but better docs or even commented code could help
https://github.com/ton-blockchain/token-contract/tree/main/ft
For instance here: it's a fungible token, but you can hardly tell which contract is used for what
Especially given FunC isn't really readable
Jun 19, 2022, 10:34 PM
I asked a smart contract and he answered me with this while i expected an address. Should i decode this in some particular way?
Jun 19, 2022, 10:40 PM
"bytes" contains base64-encoded BOC. decode it and read an address from a given slice.
Jun 19, 2022, 10:42 PM
Could you please clarify what does it mean for TON? May be there any articles about that?
Jun 19, 2022, 11:18 PM
working on str works well but addresses idk how to start
example of what i get:
b'\xb5\xee\x9crA\x01\x01\x01\x00$\x00\x00C\x80\x1e 4a,\xab\xfd\xa6\xd9\xb9b^A\x88\xa4\xe34\xbd\xfb\xb2\xfe\x95\xc7\xadOt\xed\x88\xdfO\xf1\xa6P\xcb\x7f\xfe`'
Jun 19, 2022, 11:31 PM
Are there official plans to make an Ethereum work chain? Is there any post or announcement?
Jun 20, 2022, 12:06 AM
https://ton.org/roadmap - 2023
Jun 20, 2022, 12:23 AM
I’m not certain they’re serious about these. Many of the core team don’t like Ethereum
Jun 20, 2022, 12:24 AM
Core team is quite closed so it isn’t clear if they like Ethereum or not.
Jun 20, 2022, 12:26 AM
You don't have to like ethereum to use the EVM
Lots of complex code has already been written in Solidity, so you're saving a lot of time by using it.
Jun 20, 2022, 1:07 AM

© 2024 Draquery.com All rights reserved.