github / github/codespaces-jupyter
練習
- Lingua principale
- Jupyter Notebook
- Stelle
- 894
- Fork
- 1.7k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
module mygame::nft_character {
use sui::object::{Self, UID};
use sui::transfer;
/// キャラNFTの定義
struct CharacterNFT has key, store {
id: UID,
name: string::String,
power: u64,
}
/// NFTを作る関数
public entry fun mint(name: string::String, power: u64, ctx: &mut TxContext) {
let nft = CharacterNFT {
id: object::new(ctx),
name,
power,
};
transfer::transfer(nft, tx_context::sender(ctx));
}
}
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue contains only a Move-like NFT code snippet and does not identify a file, test, or requested change. Clarify the intended outcome and project location before starting; completion criteria are not defined.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- blockchain
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 15/100