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-stellar): Connector and Validator #3238

Closed
fazzatti opened this issue Apr 29, 2024 · 4 comments
Closed

feat(connector-stellar): Connector and Validator #3238

fazzatti opened this issue Apr 29, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@fazzatti
Copy link
Contributor

Is your feature request related to a problem? Please describe.
One should be able to connect and interact with the Stellar network through both their Classic(native operations) and Soroban(Smart contracts platform) to build interoperable use cases with other networks.

Describe the solution you'd like
The connector should:

  • Implemented active behavior through Stellar Classic to
    • Create and submit transactions
    • Support native transaction operations
  • Implement active behavior through Stellar Soroban to
    • Deploy, manage, and invoke smart contracts
    • Create, simulate, and submit smart contract transactions
  • Leverage stellar-related best practices

Additional context
I'm starting this initiative to integrate the Stellar network into Hyperledger cacti on behalf of Cheesecake Labs. We aim at having a connector plugin able to handle interoperability with the Stellar network and leverage different use cases that can benefit from both the Classic and Soroban types of transactions supported by Stellar.

@fazzatti
Copy link
Contributor Author

Another issue has just been opened to cover the first step as creating the Stellar Test Ledger here: #3239

@fazzatti
Copy link
Contributor Author

Created this branch to follow with progress specific to the connector here https://github.com/fazzatti/cacti/tree/plugin-stellar-connector

Currently, it is possible to run tests to fully deploy a contract with:

yarn jest packages/cacti-plugin-ledger-connector-stellar/src/test/typescript/integration/plugin-ledger-connector-stellar/deploy-contract/

There are a few workarounds in there which I'll fix next as they require some small tweaks to https://github.com/CheesecakeLabs/stellar-plus as well.

@RafaelAPB
Copy link
Contributor

Happy to help reviewing the PR when you have a first draft! Thanks for your contribution

@petermetz
Copy link
Member

@fazzatti Thank you for the contributions in advance! Looking forward to this making it to main :-)

fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 10, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 10, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 15, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 15, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 24, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 24, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 24, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
fazzatti added a commit to fazzatti/cacti that referenced this issue Jun 24, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
sandeepnRES pushed a commit to sandeepnRES/cacti that referenced this issue Jul 30, 2024
- Add a run soroban transaction endpoint to the Stellar Connector plugin.
- Add a Soroban hellow_world contract to the demo-contract folder.

**Remarks:**

The `runSorobanTransaction` endpoint can be used to make smart contract
invocations on the Soroban platform. The endpoint accepts a flag
called `readOnly` to indicate when the transaction should not alter
ledger state. When `true`, the transaction will only be simulated based
on the current ledger state and provide an up-to-date output without
registering the transaction to the ledger, ensuring no fees are
consumed. When `false`, the transaction will be executed and registered
to the ledger even if it doesn't alter the ledger state, incurring
fees as usual.

More details can be found in the `README.md` file under the connector root directory.

Closes hyperledger#3238

Signed-off-by: Fabricius Zatti <fazzatti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants