jrkb6 / portal-protocol

Portal is a novel decentralized identity system with privacy-preserving, user-centric, and verifiable data resolution.
2 stars 0 forks source link

go run main.go -bindings true #2

Closed mouhib539 closed 5 months ago

mouhib539 commented 5 months ago

I'm facing an issue with the go run main.go -bindings true command and could use some guidance. Here's what's happening:

I'm running Ganache CLI v6.12.2 with the correct environment settings.

When I execute go run main.go -bindings true, I expect it to generate Solidity files, but nothing happens.

I've checked my configurations, and everything seems to be in order.

I'm using the correct mnemonic and HD wallet path as specified in the documentation.

The command runs without errors, but the Solidity files are not generated in the expected directories (go-sdk/contracts/IdentityInterface/, go-sdk/contracts/IdentityManager/, go-sdk/contracts/IdentityRegistry/).

Any insights or suggestions would be greatly appreciated. Thank you!

jrkb6 commented 5 months ago

Hi,

I noticed the contract code is missing. Bindings command generates Go metadata for the solidity classes to interact with contracts.

Now, contracts solidity code is available under the ./contracts/ folder. Please check out the main and try again.