Skip to content

Latest commit

 

History

History
103 lines (49 loc) · 5.24 KB

File metadata and controls

103 lines (49 loc) · 5.24 KB

A Quick Start Guide for Downstream Redstone

Setting up to work on your very own Zone

1. Setting up a wallet and claiming a Zone

Downstream is deployed to Redstone, a mainnet L2! The following steps will teach you how to set up Metamask, purchase ETH, bridge it to Redstone and claim your Downstream Zone!

  1. You will need to install and set up Metamask. You can follow his guide to get set up!

  2. Once you have that set up, you will need to add the Redstone network to your Metamask.

        You can find Redstone's network information here

        You can find a guide to adding a new network here

  1. You will need to bridge some ETH from Ethereum mainnet to Redstone. A zone costs 0.001 ETH but you will likely need to purchase more to cover the gas costs of bridging the ETH. You can find out how to buy ETH here.

  2. Once you have your ETH, you can bridge it to Redstone here.

2. Claiming your Zone

Finally! Time to claim your zone!

Navigate to Downstream, connect your wallet, sign the message in the metamask popup and select the "CLAIM ZONE" button. Metamask will open again and you will then be asked to purchase the Zone with your Redstone ETH.

Please Note: If your Metamask is currently set to Ethereum Mainnet, you should be asked to switch networks to Redstone

If you have followed the steps correctly, you should now be the proud owner of a Downstream Redstone Zone!

3. Naming your map and adding a picture

Please note: Remember your zone number. The zone's name by default will contain the number or if you have changed the name, it can be found in the URL on your Zone page

Once you have your zone, you can select the settings cog in the top left of the screen and you will be presented with the settings popup.

Here, you can type a Zone name, Zone description and add an image. Adding an image is as simple as finding an image online, copying it's URL and pasting it into the text box! Press the Apply button and it will commit the changes.

Creating your first Map

1. Install ds-cli

In order to deploy a map to your zone, you will need to download ds-cli, you can do that by installing npm or npm Windows and then, open your Terminal or CMD window and run npm install -g @playmint/ds-cli to install ds-cli.

To test if the tool has been correctly installed, type ds help into your command line and make sure it displays the help message.

2. Draw a map and export your yaml

Navigate to the Tile Fabricator and start painting the shape of your map!

Once you are happy, press the Export button in the top right menu and you will download a map .yml file

3. Use ds-cli to deploy it

Open your platform's command line interface and navigate to the folder containing your map .yml file.

Run the following ds-cli command and replace <zone-number> with your zone number: ds apply -n redstone -z <zone-number> -R -f .

For example, if your zone ID is 1, then the command will look like this: ds apply -n redstone -z 1 -R -f .

The cli tool will then open your default browser and ask you to sign the transaction in Metamask. This will not cost you anything!

Once the tool has deployed the map, navigate back to your Zone and check out your map!

Deploying your first building kind

1. The Building Fabricator

Browse to redstone.downstream.game/building-fabricator

The Building Fabricator allows you to deploy buildings and items to Downstream without having to leave the game! Once configured hit the Deploy button.

For the next step, hit the Export button to get the building's source files and move them into the same folder as your map.yml file from earlier

2. Import your building into the Tile Fabricator and adding it to your map

If you navigate back to the Tile Fabricator, you will notice an import button. This will bring up your system's file explorer. If you navigate to the folder containing your building's source files, select them and confirm the dialogue, the building you have deployed will be added to the Brush drop down!

If you select your building and add it to the map and then follow the same export and apply steps above, you will be able to redeploy your map and it will now contain your new building!


What's next?

Why not try following our Advanced tutorials to learn more about Downstream's mechanics and build Tutorial Island!

Further Reading

Check out the Reference Page for more detail on the process outlined above