startToken.sol
06/13/2024 5:33 PM// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
contract StarToken {
// Public variables for token details
string public tokenName;
string public tokenAbbrv;
uint public totalSupply;
CryptoToken.sol
06/13/2024 5:30 PM// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
contract CryptoToken {
// Public variables
string public tokenName;
string public tokenAbbrv;
uint public totalSupply;
CustomToken.sol
06/11/2024 7:01 PMcontract CustomToken {
// public variables here
string public tokenName = "CUSTO";
string public tokenAbbrv = "CTO";
uint public totalToken = 0 ;
// mapping variable here
mapping (address => uint) public wallets;second code for eth
06/08/2024 7:50 PM// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract MyToken {
// Public variables for token details
string public name = "PiToken";
string public symbol = "PTK";
uint256 public totalSupply;
// Mapping of addresses to balancesSolidity Smart Contract
06/08/2024 7:42 PM// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;
/*
REQUIREMENTS
1. Your contract will have public variables that store the details about your coin (Token Name, Token Abbrv., Total Supply)
2. Your contract will have a mapping of addresses to balances (address => uint)
3. You will have a mint function that takes two parameters: an address and a value.
The function then increases the total supply by that number and increases the balance
of the “sender” address by that amountaryan_choudhary_js_proof
05/30/2024 1:06 PM// Create a variable to hold your NFTs
const NFTStore = [];
// Function to generate a unique ID using crypto module
function generateUniqueId() {
return `NFT-${Math.floor(Math.random() * 100000)}`;
}
// Arrays for random selection
const speciesArray = [Ravindar_js_proof
05/30/2024 11:49 AM// Create a variable to hold your NFTs
const NFTStore = [];
// Function to generate a unique ID
function generateUniqueId() {
return "ID-" + Math.random().toString(36).substr(2, 9) + "-" + Date.now();
}
// Function to mint an NFT
function mintNFT(_name, _species, _planet, _skills, _spaceship) {shaswat js_proof code
05/30/2024 9:59 AM/*
Aassessment Requirements
1. Create a variable that can hold a number of NFT's. What type of variable might this be?
2. Create an object inside your mintNFT function that will hold the metadata for your NFTs.
The metadata values will be passed to the function as parameters. When the NFT is ready,
you will store it in the variable you created in step 1
3. Your listNFTs() function will print all of your NFTs metadata to the console (i.e. console.log("Name: " + someNFT.name))
4. For good measure, getTotalSupply() should return the number of NFT's you have created
*/
abhishek js proof code
05/30/2024 9:41 AM/*
Aassessment Requirements
1. Create a variable that can hold a number of NFT's. What type of variable might this be?
2. Create an object inside your mintNFT function that will hold the metadata for your NFTs.
The metadata values will be passed to the function as parameters. When the NFT is ready,
you will store it in the variable you created in step 1
3. Your listNFTs() function will print all of your NFTs metadata to the console (i.e. console.log("Name: " + someNFT.name))
4. For good measure, getTotalSupply() should return the number of NFT's you have created
*/
ansh_js_proof
05/30/2024 9:32 AM/*
Aassessment Requirements
1. Create a variable that can hold a number of NFT's. What type of variable might this be?
2. Create an object inside your mintNFT function that will hold the metadata for your NFTs.
The metadata values will be passed to the function as parameters. When the NFT is ready,
you will store it in the variable you created in step 1
3. Your listNFTs() function will print all of your NFTs metadata to the console (i.e. console.log("Name: " + someNFT.name))
4. For good measure, getTotalSupply() should return the number of NFT's you have created
*/
vicky_js_proof
05/30/2024 7:17 AM/*
Aassessment Requirements
1. Create a variable that can hold a number of NFT's. What type of variable might this be?
2. Create an object inside your mintNFT function that will hold the metadata for your NFTs.
The metadata values will be passed to the function as parameters. When the NFT is ready,
you will store it in the variable you created in step 1
3. Your listNFTs() function will print all of your NFTs metadata to the console (i.e. console.log("Name: " + someNFT.name))
4. For good measure, getTotalSupply() should return the number of NFT's you have created
*/
js_module_1
05/29/2024 5:00 PM/*
Aassessment Requirements
1. Create a variable that can hold a number of NFT's. What type of variable might this be?
2. Create an object inside your mintNFT function that will hold the metadata for your NFTs.
The metadata values will be passed to the function as parameters. When the NFT is ready,
you will store it in the variable you created in step 1
3. Your listNFTs() function will print all of your NFTs metadata to the console (i.e. console.log("Name: " + someNFT.name))
4. For good measure, getTotalSupply() should return the number of NFT's you have created
*/