oxheadalpha / nft-tutorial

Tezos FA2 NFT CLI Tool And Tutorial
MIT License
92 stars 25 forks source link

How to use any other network #12

Closed johnnyshankman closed 2 years ago

johnnyshankman commented 3 years ago

How do I use florencenet? mainnet? edonet? etc?

How can i change my config to use my mainnet wallet and hit mainnet, or a faucet wallet and hit florencenet.

johnnyshankman commented 3 years ago

https://tezostaquito.io/docs/rpc_nodes/

I'd like to use florencenet with my florencenet faucet alias.

CirKu17 commented 3 years ago

up, I'm interested too.

emishur commented 2 years ago

You can manually add an entry to your tznft.json for a new net.

Here is an example adding mynet:

{
    "activeNetwork": "granada",
    "availableNetworks": {
        "sandbox": {
            "providerUrl": "http://localhost:20000",
            "aliases": {
                "bob": {
                    "address": "tz1YPSCGWXwBdTncK2aCctSZAXWvGsGwVJqU",
                    "secret": "edsk3RFgDiCt7tWB2oe96w1eRw72iYiiqZPLu9nnEY23MYRp2d8Kkx"
                },
                "alice": {
                    "address": "tz1VSUr8wwNhLAzempoch5d6hLRiTh8Cjcjb",
                    "secret": "edsk3QoqBuvdamxouPhin7swCvkQNgq4jP5KZPbwWNnwdZpSpJiEbq"
                }
            }
        },
        "testnet": {
            "providerUrl": "https://testnet-tezos.giganode.io",
            "aliases": {
                "bob": {
                    "address": "tz1f6LtT8nER9aYaaNb7PPJq7rkhwpcXexU6",
                    "secret": "edskRfLsHb49bP4dTpYzAZ7qHCX4ByK2g6Cwq2LWqRYAQSeRpziaZGBW72vrJnp1ahLGKd9rXUf7RHzm8EmyPgseUi3VS9putT"
                },
                "alice": {
                    "address": "tz1cbWPEd7vuwTS4XkJsMVmm8ZDN7xhRsnDk",
                    "secret": "edskRqb8GgnD4d2B7nR3ofJajDU7kwooUzXz7yMwRdLDP9j7Z1DvhaeBcs8WkJ4ELXXJgVkq5tGwrFibojDjYVaG7n4Tq1qDxZ"
                }
            }
        },
        "mynet": {
            "providerUrl": "https://hangzhounet.smartpy.io"
        }
    }
}