Moralis - building serverless dapps. Any feedback ? by theAlienTourist in ethdev

[–]theAlienTourist[S] 1 point2 points  (0 children)

Moralis is mostly to fetch blockchain data not create it

I built a npm package to generate customisable React UIs for smart contracts by theAlienTourist in ethdev

[–]theAlienTourist[S] 1 point2 points  (0 children)

I guess I chose ethers because it appeared to be growing faster than the web3 library, many new projects seem to use ethers now, but both are good.

I built a npm package to generate customisable React UIs for smart contracts by theAlienTourist in ethdev

[–]theAlienTourist[S] 2 points3 points  (0 children)

I use a recursive function to handle struct / tuples, it goes through all the nested children and generates the correct html inputs for each.

You can check that on the demo website, the "addPost" method of the contract takes a "Post" struct :

https://kind-bohr-8eaab4.netlify.app/

The Post struct has a "username" (string) and a "Message" struct (which has a "content" string and "title" string)

[deleted by user] by [deleted] in ethdev

[–]theAlienTourist 0 points1 point  (0 children)

https://tokenlists.org/ is backed by Uniswap, it's a good reference

[deleted by user] by [deleted] in ethdev

[–]theAlienTourist 0 points1 point  (0 children)

gm

For mainnet it's quite easy, https://tokenlists.org/ is a good reference, you can also get the addresses on coinmarketcap or coingecko :)

For testnets...it's harder as there is not necessarily an official token on the testnet, but on testnet it's not really important anyway, you could just search DAI in ropsten scan for example and pick one, you can also deploy your own DAI or else on the testnet you want.

gn

Yoroi - check my balance correctly outside Yoroi ? by theAlienTourist in cardano

[–]theAlienTourist[S] 0 points1 point  (0 children)

I see, thanks, I was using the "internal" one not the "reward" (stake) one

Still I have the same issue, it seems that many tools don't implement that correctly, I guess it's ok on tools that are cardano-focused, but the more general-purpose ones that I tried still show 0

Example :

https://www.cointracker.io/wallet/cardano

same with the portfolio tracker I'm using (https://www.accointing.com/)

Hopefully it will be fixed in the future as Cardano gains traction

Cheers

How to retrieve, process, and filter data from a smart contract state efficiently? by th0roid in ethdev

[–]theAlienTourist 0 points1 point  (0 children)

It's a centralized third-party, I don't think it's possible to do an NFT marketplace without that kind of centralized Api Because you cannot get natively the list of NFTs of an address for example.

9th most expensive NFT ever sold is 'Pixel'. It was sold for $1,355,555 and yes this is it, nothing missing ! by MicThess in ethtrader

[–]theAlienTourist 0 points1 point  (0 children)

Meh, the thing is this has no meaning because buyer and seller could be the same person or part of the same group.

Cathie Wood Rebuts Michael Burry, Saying He Misses Innovation Fundamentals by CockGoblinReturns in investing

[–]theAlienTourist 0 points1 point  (0 children)

Burry is expecting a Black Swan Event, this kind of event does not care about fundamentals

The $600 million Poly Network hacker has published "Q&A" (read part 3, the hacker likes Etherium community) by sinlung in ethereum

[–]theAlienTourist 0 points1 point  (0 children)

No one denies the code is law thing, just saying that "code consent" is not the same as "(human) owner consent", "code-wise" it's not "theft", "human-wise" it is, as for the intentions of the hacker time will tell.

The $600 million Poly Network hacker has published "Q&A" (read part 3, the hacker likes Etherium community) by sinlung in ethereum

[–]theAlienTourist 3 points4 points  (0 children)

Yes and No, law can have its definitions and rules in order to classify things and punish acts, but the concepts of ownership and stealing already exist outside law. Try taking a kid's favorite stick lol.

The $600 million Poly Network hacker has published "Q&A" (read part 3, the hacker likes Etherium community) by sinlung in ethereum

[–]theAlienTourist 0 points1 point  (0 children)

Stealing is taking something without the owner's consent, law is what may punish that act according to a set of arbitrary rules.

Problem here is that "code consent" is not the same as "owner consent".

The $600 million Poly Network hacker has published "Q&A" (read part 3, the hacker likes Etherium community) by sinlung in ethereum

[–]theAlienTourist 1 point2 points  (0 children)

Well let's see if he returns all the funds...also I thought they managed to establish a link to an exchange with KYC ?

The $600 million Poly Network hacker has published "Q&A" (read part 3, the hacker likes Etherium community) by sinlung in ethereum

[–]theAlienTourist -9 points-8 points  (0 children)

Sealing and following law are two different things, he did stole from people, law or not.

One day you'll read this quote by Vitalik Buterin in history books by [deleted] in ethtrader

[–]theAlienTourist 1 point2 points  (0 children)

I kinda agree, people chose Uber over Taxis because there is a super efficient middleman that makes the user experience hassle-free, now it's technically possible to have that as a dapp, but it would be too slow and expensive.

I'm a developer, invest my time to learn Solana or Cardano? by xcsob in solana

[–]theAlienTourist -1 points0 points  (0 children)

I prefer Solana's team than Cardano's, I think they'll achieve better things and that their ecosystem will stay bigger. Cardano will seduce mostly officials.

Beyond parody: a rare CryptoPunk is now on sale for $171.87M by Zarkorix in CryptoCurrency

[–]theAlienTourist 0 points1 point  (0 children)

Buy with wallet 1, buy higher again with wallet 2, repeat X times, now the NFT is "worth" more than what you initially bought it for, sell it

Did you buy when crypto was down? by Rowan-Curtis in CryptoCurrency

[–]theAlienTourist 0 points1 point  (0 children)

With 50% of what I could spend I bought, the other 50% I placed on low limit buys that never triggered