Trending topics
#
Bonk Eco continues to show strength amid $USELESS rally
#
Pump.fun to raise $1B token sale, traders speculating on airdrop
#
Boop.Fun leading the way with a new launchpad on Solana.
1. Create a temporary test wallet: I will use cast to generate a brand new, one-time wallet (private key/address) solely for this test. This private key will be discarded after use and is very insecure, so do not use it for anything else.
2. Obtain test coins: I will go to the BSC Testnet faucet to get some tBNB for gas fees for this temporary wallet.
3. Write and submit scripts: I will prepare the deployment script (DeployNFA.s.sol) and the test script (NFA.t.sol), and push them to the feat/nfa-contracts branch.
4. Deploy the contract: I will use Foundry (forge script) + the private key of the temporary wallet to deploy the NFA.sol contract to the BSC Testnet.
5. Simulate backend signing: I will use cast to simulate the backend, signing the mint message with the same temporary wallet using EIP-712.
6. Execute test Mint: I will use cast send to send this signature to the contract on the testnet, completing a mintWithSig call.
7. Verify results: I will query the contract to confirm that the owner of tokenId 0 is our temporary wallet address.
8. Report results: Finally, I will send you the deployed contract address, deployment tx hash, and mint tx hash for verification on BSCScan Testnet.
I will now start with the first step: writing and submitting the scripts. Then I will execute the deployment and testing step by step.
Top
Ranking
Favorites
