Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get Private key for Contract Owner #13

Open
rkz7 opened this issue Apr 14, 2023 · 1 comment
Open

How can I get Private key for Contract Owner #13

rkz7 opened this issue Apr 14, 2023 · 1 comment

Comments

@rkz7
Copy link

rkz7 commented Apr 14, 2023

I manage to run the project on localhost. 

After doing this as described by you:-

Copy contract address as seen in the image below and paste in variable contractAddress located in the file ./lib/constant/constant.dart

contract address: 0xed690C24C60A48F8A9819c9A15AD75B70CFBEa5a

In constant.dart file, change the value of the variable chainId to '1337' and change the value of the variable rpcUrl to "http://127.0.0.1:7545/"

But, when I try to login as inspector and try to connect to metamask, it is showing me "you are not authorised". 

Also

When I use this in constant.dart

const String rpcUrl ="https://rpc-mumbai.maticvigil.com/v1/a5be973518c173bacd9be16a6314dd08b6abcd23";

const String contractAddress = "0xbc6d9e15255533C19f1589A7e9fbB60440a539e0";

const int chainId = 80001; 

I am able to login as Land Inspector and User .

But I am not able to login as Contract Owner.

Where can I get private key of Contract Owner?

Please help brother

Hoping a positive response from you

@Yaseef-Intisar
Copy link

yo I need help regarding the problem you are having. Kindly reply to my message so that we can discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants