# Migrating wrapped-xtz to Granadanet ### Step 1 After cloning the project, add in `truffle-config.js`: ``` granadanet: { host: "https://granadanet.api.tez.ie/", network_id: "*", secretKey: "private key goes here", type: "tezos", finishSetup: true }, ``` ### Step 2 Change account`alice` according to the `secretKey` used in `truffle-config.js`. https://github.com/StakerDAO/wrapped-xtz/blob/dev/scripts/sandbox/accounts.js#L12-L16 (you can ignore the public key "pk" property) If you want to play around with `pauseGuardian`, also change the `walter` account in `account.js`, because of [this](https://github.com/StakerDAO/wrapped-xtz/blob/dev/migrations/initialStorage/tzip-7.js#L11). ### Step 3 ``` npm i npm run fix-ligo-version 0.3.0 npm run compile npm run migrate -- --network granadanet ``` ### Issues If you get a timeout error, then do the following hack: `node_modules/truffle/build/cli.bundled.js` ![](https://i.imgur.com/vd0dClH.png)