I can provide you with an artbadata art article to SP (Solan Toaken and Metaplex.
Addbata via spl tokes Rightt and Metaplex
**
In this article of THSIS we will investigate how to add Maddata, which has dreams through solana using Rustening and Memax Protocol. It is used to cure an infitual infit noys-fit, asking that the souts are unique or intersimip.
Assumptions
Bepharting, Maka you have installed crashes:
- Rust (1.62 or Er later)
- Metaplex (0.9.9.0 or later)
You can install this load, using Rust Package Mannas:
Klociary
Installation of cargo -dev Solana -sdks
The one
setting of solana node
If you want to use Meelles with your solan node, you must set it up. Here is yi:
- Install Alsolana-Cli.
Klociary
Solan’s login
The one
- Create will be the new programing Cesola-Prgramisal Uckra:
Klociary
SONANA NEW MY_PRENT program -SDK-SEDK-VERC-VASC-VASC.62 -Type programtt
The one
Creating a new token
Let’s create a new Tomek with somemetadada:
Ing my_teyn.rs * from
Klociary
Use solan_programs: XOMES.
Acint_into: NIXT_ACCOINENT_INPHAS,
NitryPoint :: Want,
MSG, MSG,
3 3;
Stad :: Hassh, Hasherro please;
Pubt Struct Mytoken
Pub: U6
Name of pub: String,
Description of the pub: stroning,
E ee
IMPLICATE OF THE MYTOKEN.
Pub Fn Nová (In: Uprig, Description: String) -> Self
Self xexe, name, description r
E ee
audience
Accobobunint :: new (if
Self.id Will, U128,
& aslf.to_) ,,
& aslf.descript (Byes () ,,
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) )))) ””
E ee
E ee
Impl Stel: FMT ::: Dsplay for mytoaken ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́ ́
FN FMT (Self, F: & Mt: Farmater) -> Sed ::::::::::::::: Andreult.
Write! (F, “Proverbs,”
E ee
E ee
The one
Creating a metadata structure
We will create a newer one to hold the metada of our token:
Klociary
Use solan_programs: XOMES.
Accounn_out: In hexege_chtucouning, accountinfo
NitryPoint :: Want,
MSG, MSG,
3 3;
Stad :: Hassh, Hasherro please;
Pubt Struct Foatta
Pub: U6
Name of pub: String,
Description of the pub: stroning,
E ee
Improlkadata
Pub Fn New (idit: chain, description: String) -> Self
Self xexe, name, description r
E ee
audience
Accobobunint :: new (if
Self.id Will, U128,
& aslf.to_) ,,
& aslf.descript.
))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) )))) ””
E ee
E ee
The one
recrea
Now let’s create that the Geors Andata will be for our token:
Klociary
Use solan_programs: XOMES.
Acint_into: NIXT_ACCOINENT_INPHAS,
NitryPoint :: Want,
MSG, MSG,
3 3;
Stad :: Hassh, Hasherro please;
PUBT STEADatgenrararator
Pub: U6
E ee
Implzing Medagatageer ́ ́e ́e ned nang
Pub FN NEW (ID (Use) -> Self Fonfon Fonsff Fhons Fons.
Self
E ee
Pub FN Gerte_casda (& Assadadada (4 Self, Meadada) -Pagarresult.
Let Accoin_ins NY Next_Account_inslight ();
STARDADA_STRUCT NUMBERS: New (Self. Medada, Memadada (), Meatdata.
MSG! (Greerararatala for Toakh to KKN numbers’, Rev., Self.im);
// Save Mudad in the Solan’s book
/ For NY NYA, we just pinttit
Printaln! (”[Genner or Metaphor: