https://github.com/decentralisedme/simple2_nft_ipfs
Deploy an ERC721 smartcon, mint the NFT, upload file to IPFS, get metadata and publish it on OpeanSea!!!!
https://github.com/decentralisedme/simple2_nft_ipfs
Last synced: 12 days ago
JSON representation
Deploy an ERC721 smartcon, mint the NFT, upload file to IPFS, get metadata and publish it on OpeanSea!!!!
- Host: GitHub
- URL: https://github.com/decentralisedme/simple2_nft_ipfs
- Owner: Decentralisedme
- Created: 2022-10-28T17:33:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T18:33:39.000Z (over 3 years ago)
- Last Synced: 2025-10-31T02:55:01.257Z (9 months ago)
- Language: Python
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple2_nft_ipfs
Very simple approach to complete the process to upload your digital asset to market market places, in this case from from smart conract deployment to OpenSea.
1) Smart contract to mint an ERC721 token and set the token URI: ```SimpleCollectable2.sol```
2) Deploy the smart contract: ```deploy_and_create.py```
3) Create the metadata for your token including the URI obtained by uploading to IPFS the digital asset: ```create_metadata.py```
4) Publish it to OpenSea: ```set_toek_uri.py```
As regard IPFS:
1) To run an IPFS node: https://docs.ipfs.io/install/command-line/#official-distributions
Check: ```ipfs --version```
2) To initialise ipfs repository: ```ipfs init```
You need to this only the first time, otherwise you ll change you keys
3) To run the node: ```ipfs daemon```
This will also give your WebUI
4) To upload the file follow: https://docs.ipfs.io/reference/http/api/#api-v0-add
5) Upload the file also in your WebUi: https://github.com/ipfs/ipfs-webui/issues/897
This last step is usefull if you want the uploaded file be visible in your WebUI/Files: when you upload via cmd line the file won't be visible