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

Add an option '--remote-node-deploy' to treat remote nodes like local nodes #248

Merged
merged 1 commit into from Jan 24, 2024

Conversation

matthew1001
Copy link
Contributor

Specifically, this option allows the ff init command to be run with -n remote-rpc without specifying --contract-address, something which was previously not supported.

By default the CLI will behave the same as previous versions. However, setting the new --remote-node-deploy=true option will perform both the deployment of the FireFly contract, and the identity/org registration. Effectively this option is a way of saying "the remote node is a free-gas chain", but I thought it might be possible to use for non-free-gas chains such as Polygon, if you had a way of ensuring your signing key had enough gas to pay for the deployment. Hence calling the new option --remote-node-deploy, not --remote-node-free-gas or similar.

… nodes

Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
@nguyer nguyer merged commit 8666368 into hyperledger:main Jan 24, 2024
22 of 23 checks passed
@nguyer nguyer deleted the remote-node-deploy branch January 24, 2024 19:32
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

Successfully merging this pull request may close these issues.

None yet

2 participants