Question about fuel NFT

I have created an NFT using SRC20 on fuel. This is the part where I have set the name and symbol:

pub const NAME: str[10] = __to_str_array("token-name");
pub const SYMBOL: str[12] = __to_str_array("token-symbol");


impl SRC20 for Contract {

    #[storage(read)]
    fn name(asset: AssetId) -> Option<String> {
        Some(String::from_ascii_str(from_str_array(NAME)))
    }

    #[storage(read)]
    fn symbol(asset: AssetId) -> Option<String> {
        Some(String::from_ascii_str(from_str_array(SYMBOL)))
    }
}

But when I mint an NFT I get this in my wallet:


Here name and symbol is UNKNOWN. Shouldn’t this show token-name and token-symbol?

1 Like

What happens when you click on the Add?

1 Like

@lokesh-lync ,

Right now the Fuel Wallet doesn’t automatically pickup the meta-data from SRC20 tokens.

You can see if Fuelet picks this up, we will add this to our feature list.

2 Likes