1 unstable release
0.1.1 | Feb 8, 2022 |
---|---|
0.1.0 |
|
#14 in #wasm32-unknown-unknown
20KB
491 lines
Instruction
Commands to run
- Build WASM file in target directory:
cargo build --target wasm32-unknown-unknown --release
- Login to near protocol:
near login
- Deploy smart contract on testnet:
near deploy --wasmFile target/wasm32-unknown-unknown/release/<fileName>.wasm --accountId <accountID (0000.testnet
Files
- nft를 발행하는 mint
- nft의 개수를 세는 기능인 enumerable
- nft 내부 정보를 관리하는 internal
- nft에 이미지 등의 정보를 넣을 수 있는 metadata
- NEP-171 표준을 명시하는 nft_core
Reference
- NEAR University
- NEAR Discord
Read material
check out these resources
- prework
- https://bit.ly/ncd-prework (a few slides to get you started)
- https://hackmd.io/@nearly-learning/ncd-day-0 (this is some of the best content i've found in the last 2 years of my own learning.)
- NCD
- http://bit.ly/ncd-1-1d-slides (self-paced course to learn how to read, write, deploy and test contracts on NEAR)
- https://hackmd.io/@nearly-learning/ncd-2-1d--exploring (self-paced course to learn how to build full stack apps that connects to NEAR (dApps))
examples
- https://github.com/learn-near?q=L1 (10 sample contracts)
- https://github.com/learn-near?q=L2 (10 sample frontends for the L1 contracts )
- the other 50+ examples are good student work but may not be as useful for learning
- please star repos if you find them useful because this helps promote highest quality content
senior devs
- https://hackmd.io/@nearly-learning/near-201 (hundreds of production examples including video walkthrough by core engineers and more)
Near CRUD app
and an NFT Skeleton and Architecture
tutorial on the Near docs.
Near CRUD app: https://docs.near.org/docs/tutorials/apps/todos-crud-app#introduction
NFT Skeleton and Architecture: https://docs.near.org/docs/tutorials/contracts/nfts/skeleton#introduction