NFT deploy
How to deploy a NFT following the scaffold-eth github repository
One of the most popular GitHub repositories for Ethereum projects is scaffold-eth.
To make the example compatible with 1DLT, you have to make two changes:
Add 1DLT to the network list of the React application.
In the
constant.js
file, add the 1DLT network.export const NETWORKS = {
1DLT: {
name: "1DLT",
color: '#F60D09',
chainId: 1DLT-CHAIN-ID,
rpcUrl: `"1DLT-IP-ADDRESS"`,
},
...
}
Add the private key of the account you want to use for the smart contract deployment.
In the
hardhat.config.js
add a new network with the private key. networks: {
1DLT: {
url: "1DLT-IP-ADDRESS",
accounts: ["YOUR PRIVATE KEY"],
},
...
}
Last modified 4mo ago