Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (26 loc) · 1.75 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.75 KB

Remix Game Day

Welcome to the StarkNet puzzle of Remix game day!

Objective

Your goal is to mint NFT on StarkNet to unlock a clue to the next puzzle.

You have to deploy a specific smart contract that does the following:

  1. Has a function ping() which answers Pong (string, encoded as a felt) when called. You can use this file to do the required conversions
  2. Stores the address of the NFT contract
  3. Stores your address, to send the NFT to you after minting
  4. Calls the function mint_from_remix() to mint an NFT, using both parameters set at 2. and 3.

The NFTs are in contract 0x03e4d98d62f785c00529785c0b0d76cdc3e16129a39b5b54df49880c6b48a40f, deploy on StarkNet Goerli testnet.

Playing

  1. Open Remix

  2. Click on the plugin button and search for the StarkNet plugin

  3. Create a new file name contract.cairo

  4. Copy / paste the code of this contract

  5. Read the contract, and modify it so that it achieves the desired goal

  6. Compile the file

  1. Deploy the contract

  1. Create a new wallet (Argent X or Braavos)
  2. Go check your contract on Voyager: https://goerli.voyager.online/contract/your-contract-address
  3. Use the "read contract" and "write contract" to interact with your contract if needed
  4. Check out your NFT on Oasis