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

feat(connector-polkadot): connector plugin should be able to deploy smart contracts in Polkadot #727

Closed
CatarinaPedreira opened this issue Mar 25, 2021 · 2 comments · Fixed by #2877
Assignees
Labels
enhancement New feature or request Polkadot Tasks related or relevant to the Polkadot connector

Comments

@CatarinaPedreira
Copy link

Describe the solution you'd like
The connector plugin should be able to deploy smart contracts on a predefined parachain, in the Polkadot network.

Describe alternatives you've considered
Alternatively, the connector plugin can send the necessary information to a predefined parachain on the Polkadot network, which then deploys smart contracts accordingly.

cc: @RafaelAPB

@CatarinaPedreira CatarinaPedreira added the enhancement New feature or request label Mar 25, 2021
@petermetz petermetz added the Polkadot Tasks related or relevant to the Polkadot connector label Apr 7, 2021
@AnmolBansalDEV
Copy link
Contributor

I will be working on this, Thank you!

@petermetz
Copy link
Contributor

I will be working on this, Thank you!

@AnmolBansalDEV Assigned it to you just now, cheers!

FYI: I'll also update the commit message in your PR to declare that it fixes this issue.

petermetz referenced this issue in AnmolBansalDEV/cacti Feb 27, 2024
Primary Changes
---------------
1. Created openapi specs for get-prometheus-exporter-metrics, get-transaction-info,
   get-raw-transaction, sign-raw-transaction, run-transaction, deploy-contract-ink,
   and invoke-contract endpoints
2. Created relevant types for the request as well as response for the above endpoints
3. Added generated code for these endpoints
4. Created connector class with functions to interact with the polkadot ledger
5. Created webservices to interact with the endpoint and the relevant class method
6. Created unit and integration testcases in jest to test base functionality of the connector

Secondary Changes
-----------------
1. Added an ink! contract for running the testcases
2. Added the polkadot connector to ci workflow
3. Created substrate.md to docs-cactus
4. Added the polkadot connector to tsconfig.json

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of polkadot AIO image

Primary Changes
---------------
1. Updated docker image to include multi-stage build
2. Added healthcheck to the image
3. Added Supervisord and removed unneccessary start script
4. Updated the Readme with relevant commands

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): update substrate test tooling

Primary Changes
---------------
1. Added correct healthcheck for ledger container
2. Update the Substrate test ledger testcases

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of readme and architecture reference diagrams

Primary Changes
---------------
1. Added README.md for the connector
2. Added Architecture diagrams for the plugin

Secondary Changes
-----------------
1. Added the docker image for the polkadot connector

Fixes https://github.com/hyperledger/cacti/issues/726
Fixes https://github.com/hyperledger/cacti/issues/727
Fixes https://github.com/hyperledger/cacti/issues/627

Co-authored-by: Peter Somogyvari <[email protected]>

Signed-off-by: Anmol Bansal <[email protected]>
Signed-off-by: Peter Somogyvari <[email protected]>
petermetz referenced this issue in AnmolBansalDEV/cacti Feb 27, 2024
Primary Changes
---------------
1. Created openapi specs for get-prometheus-exporter-metrics, get-transaction-info,
   get-raw-transaction, sign-raw-transaction, run-transaction, deploy-contract-ink,
   and invoke-contract endpoints
2. Created relevant types for the request as well as response for the above endpoints
3. Added generated code for these endpoints
4. Created connector class with functions to interact with the polkadot ledger
5. Created webservices to interact with the endpoint and the relevant class method
6. Created unit and integration testcases in jest to test base functionality of the connector

Secondary Changes
-----------------
1. Added an ink! contract for running the testcases
2. Added the polkadot connector to ci workflow
3. Created substrate.md to docs-cactus
4. Added the polkadot connector to tsconfig.json

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of polkadot AIO image

Primary Changes
---------------
1. Updated docker image to include multi-stage build
2. Added healthcheck to the image
3. Added Supervisord and removed unneccessary start script
4. Updated the Readme with relevant commands

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): update substrate test tooling

Primary Changes
---------------
1. Added correct healthcheck for ledger container
2. Update the Substrate test ledger testcases

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of readme and architecture reference diagrams

Primary Changes
---------------
1. Added README.md for the connector
2. Added Architecture diagrams for the plugin

Secondary Changes
-----------------
1. Added the docker image for the polkadot connector

Fixes hyperledger/cacti#726
Fixes hyperledger/cacti#727
Fixes hyperledger/cacti#627

Co-authored-by: Peter Somogyvari <[email protected]>

Signed-off-by: Anmol Bansal <[email protected]>
Signed-off-by: Peter Somogyvari <[email protected]>
@petermetz petermetz linked a pull request Feb 27, 2024 that will close this issue
5 tasks
petermetz referenced this issue in AnmolBansalDEV/cacti Feb 27, 2024
Primary Changes
---------------
1. Created openapi specs for get-prometheus-exporter-metrics, get-transaction-info,
   get-raw-transaction, sign-raw-transaction, run-transaction, deploy-contract-ink,
   and invoke-contract endpoints
2. Created relevant types for the request as well as response for the above endpoints
3. Added generated code for these endpoints
4. Created connector class with functions to interact with the polkadot ledger
5. Created webservices to interact with the endpoint and the relevant class method
6. Created unit and integration testcases in jest to test base functionality of the connector

Secondary Changes
-----------------
1. Added an ink! contract for running the testcases
2. Added the polkadot connector to ci workflow
3. Created substrate.md to docs-cactus
4. Added the polkadot connector to tsconfig.json

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of polkadot AIO image

Primary Changes
---------------
1. Updated docker image to include multi-stage build
2. Added healthcheck to the image
3. Added Supervisord and removed unneccessary start script
4. Updated the Readme with relevant commands

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): update substrate test tooling

Primary Changes
---------------
1. Added correct healthcheck for ledger container
2. Update the Substrate test ledger testcases

Signed-off-by: Anmol Bansal <[email protected]>

=======================================================================

feat(polkadot): creation of readme and architecture reference diagrams

Primary Changes
---------------
1. Added README.md for the connector
2. Added Architecture diagrams for the plugin

Secondary Changes
-----------------
1. Added the docker image for the polkadot connector

Fixes hyperledger/cacti#726
Fixes hyperledger/cacti#727
Fixes hyperledger/cacti#627

Co-authored-by: Peter Somogyvari <[email protected]>

Signed-off-by: Anmol Bansal <[email protected]>
Signed-off-by: Peter Somogyvari <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Polkadot Tasks related or relevant to the Polkadot connector
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants