Giter VIP home page Giter VIP logo

Comments (3)

sideninja avatar sideninja commented on August 14, 2024

Can you try passing the address without 0x prefix?
I will look into this and make sure 0x is handled if that is the case.

from kitty-items.

comtechnet avatar comtechnet commented on August 14, 2024

ok / There are 2 issues going on here with deploying to the new Powershell 7

By the way - I've tested this whole thing on WSL 2 Ubuntu / bash - so I know the accounts and contracts are deployed for these accounts and contracts using these "values", etc.

So - here are the 2 things you gotta do for Powershell 7 Windows X Flow deployment like kitty-items (or others)

  1. In Powershell 7 / make sure u "set" the FLOW environment variables correctly
    (using the $env:FLOW_PRIVATE_KEY='a1ae6................................' syntax)

  2. For the FLOW_ADDRESS value - you must strip off the 0x prefix (as sideninja recommended for Powershell) - I did NOT have to do this for the WSL 2 / Ubuntu setup (FYI)
    (using the $env:FLOW_ADDRESS='ae7561b4bab9bc61' syntax) NOTE no '0x' prefix for this instance/deployment

You can check your Powershell 7 environment variables using:

Get-ChildItem -Path Env:
or you can switch to the cd Env: device style way to view your environment variables in Powershell 7

Ok sideninja - I guess the fix to strip the 0x for Powershell 7 users needs to be either coded or documented.

Best

Dave

from kitty-items.

sideninja avatar sideninja commented on August 14, 2024

ok / There are 2 issues going on here with deploying to the new Powershell 7

By the way - I've tested this whole thing on WSL 2 Ubuntu / bash - so I know the accounts and contracts are deployed for these accounts and contracts using these "values", etc.

So - here are the 2 things you gotta do for Powershell 7 Windows X Flow deployment like kitty-items (or others)

  1. In Powershell 7 / make sure u "set" the FLOW environment variables correctly
    (using the $env:FLOW_PRIVATE_KEY='a1ae6................................' syntax)
  2. For the FLOW_ADDRESS value - you must strip off the 0x prefix (as sideninja recommended for Powershell) - I did NOT have to do this for the WSL 2 / Ubuntu setup (FYI)
    (using the $env:FLOW_ADDRESS='ae7561b4bab9bc61' syntax) NOTE no '0x' prefix for this instance/deployment

You can check your Powershell 7 environment variables using:

Get-ChildItem -Path Env:
or you can switch to the cd Env: device style way to view your environment variables in Powershell 7

Ok sideninja - I guess the fix to strip the 0x for Powershell 7 users needs to be either coded or documented.

Best

Dave

@comtechnet Thank you for this report. I will make sure this gets fixed in the next release.

from kitty-items.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.