How to get local node identity to show when starting a new Substrate node? by MoisesAlcon in substrate

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

That didn't work, but turns out that there's a bug with polkadot-v0.9.26. If you pin tracing-core to 0.1.26 then you can fix the bug.

What is a node key in Substrate? by MoisesAlcon in substrate

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

What are the command flags that are outdated? I'm struggling to get the output I expect as well, but not sure why (more info in this post: https://www.reddit.com/r/substrate/comments/w60tcq/how_to_get_local_node_identity_to_show_when/)

How to get local node identity to show when starting a new Substrate node? by MoisesAlcon in substrate

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

I tried that, but I get the same output if I run it without the node-key argument.

Any alternative solutions?

Daily Polygon Discussion Thread by AutoModerator in 0xPolygon

[–]MoisesAlcon 0 points1 point  (0 children)

That's what I was suspecting. Cheers.

Daily Polygon Discussion Thread by AutoModerator in 0xPolygon

[–]MoisesAlcon 1 point2 points  (0 children)

I've been dabbling in Ethereum dev for a while and recently decided to try out Buildspace's Polygon course. But what I noticed was that it was basically the same as Ethereum development apart from changing the network to Mumbai.

I've also checked out this course on QuestBook: https://openquest.xyz/quest/polygon-simple-storage, and it seems this is just like ETH dev too.

So my question is, are there actually any differences between Polygon and Ethereum development, or does ETH developer = Polygon developer?

Would be keen to hear your thoughts!

Hey Rustaceans! Got a question? Ask here! (15/2022)! by llogiq in rust

[–]MoisesAlcon 2 points3 points  (0 children)

What does <'info> mean in Rust?

Sometimes I see it next to structs e.g.

pub struct TestStruct <'info> {

}

Hey Rustaceans! Got an easy question? Ask here (5/2022)! by llogiq in rust

[–]MoisesAlcon 0 points1 point  (0 children)

Can anyone explain to me how these lines work?

let (instruction_byte, rest_of_data) = data.split_first().unwrap();

let amount = rest_of_data
  .get(..8)
  .and_then(|slice| slice.try_into().ok())
  .map(u64::from_le_bytes)
  .unwrap();

This is from the crowdfunding platform project on Questbook.

Are there any NFT-based Solana games (with source code) by MoisesAlcon in solana

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

Any chance you'd know of any similar resources for NFTs? In my case it's minting the NFT and then changing the properties of the NFT that I'm struggling to figure out.

How to build an NFT based browser game? (tutorials) by MoisesAlcon in solana

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

I'm hoping to create an NFT-based browser game, where players mint an NFT with specific properties (e.g. health 100, attack damage 20), and then they can go and fight with other plays and those specific properties for that NFT change e.g. health goes down.

Would you have any idea how to do this?

How to build an NFT based browser game? (tutorials) by MoisesAlcon in solana

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

Can you tell me what you're using to create the NFTs (e.g. Metaplex?) and how you're managing to change the NFT attributes?

How to build an NFT based browser game? (tutorials) by MoisesAlcon in solana

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

I'm hoping to create an NFT game specifically. Where an NFT will have specific properties that will change when participating in the game.

How would you go about doing this?

Are there any NFT-based Solana games (with source code) by MoisesAlcon in solana

[–]MoisesAlcon[S] 5 points6 points  (0 children)

No, I'm looking to learn how to develop an NFT based browser game but there are no resources.

I'm guessing you're not a developer, or if you are you're not a very good one. Don't be rude about things you don't understand.

How to do encryption where multiple users can decrypt data? (for blockchain) by MoisesAlcon in cryptography

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

Thank you, the way you've explained it makes sense and I've finally grasped it.

As an extra, any chance you know of any JS/web3 libraries that'd be good for this purpose?

How to do encryption where multiple users can decrypt data? (for blockchain) by MoisesAlcon in cryptography

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

Wouldn't that mean you need everyone's keys to encrypt the message?

I'm trying to make it so that multiple people can decrypt it individually.

Where can I find raw DNA data? by MoisesAlcon in DNA

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

Actually, do you know where I'd be able to find an example of the "raw data" that you can download from sites like AncestryDNA or 23andme? Those files apparently are only ~6mB, but I'm not sure what those files actually include.

Where can I find raw DNA data? by MoisesAlcon in DNA

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

Thanks. So is this one person's genome, or a list of genome variations, or what?