metaplex-foundation / sugar

Candy Machine Rust CLI.
Apache License 2.0
203 stars 116 forks source link

[Feature]: How can we use number as attribute value? #425

Closed legendaryangelist closed 1 year ago

legendaryangelist commented 1 year ago

Feature

Can we use number as attribute value? In current version, only string value is allowed for nft attribute value.

Ideal solution or implementation

I think it would be nice if we can use number type for attribute value as well as string type.

Alternative solutions or implementations

No response

Other context

No response

wooddyy-sol commented 1 year ago

out of curiosity, what is the use case?

You could just use something like '1'.

I can't think of a reason where you might need a number Type.

samuelvanderwaal commented 1 year ago

Closing for lack of response. I think string numbers are fine, but this can be re-opened for discussion if there's some clear use-case that string numbers don't support.