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

[ANCHOR-766] Add SEP-45 contracts #1620

Merged

Conversation

philipliu
Copy link
Contributor

Description

This adds contracts used to test SEP-45.

Context

C-account implementation

Testing

  • stellar contract build

Documentation

Adds READMEs for building and deploying the contracts.

Known limitations

The deployment command rejects Ed25519 public keys. I'm not sure if this is a bug with the CLI or something on my end.

@philipliu philipliu marked this pull request as ready for review January 13, 2025 21:00
@@ -0,0 +1,62 @@
## Deploy all contracts

One time deployment instructions. If you need to make changes to a previously deployed contract, upgrade it instead (see below).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make more information of ${MY_ACCOUNT} and how to manage the private key of the account?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The instructions are generic to the account because I haven't thought through if we want to deploy shared C-account + web auth contracts or if we want to use our own.

@@ -0,0 +1,62 @@
## Deploy all contracts
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add more information of the purpose of the Rust project? Such as the file structure, purpose of important files, etc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -0,0 +1,3 @@
# account

This implements a custom account that has a single Ed22519 signer. This is used to test the SEP-45 implementation in Anchor Platform.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this to test the SEP-45 implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep

@philipliu philipliu merged commit 964ac0d into stellar:feature/c-accounts Jan 16, 2025
9 checks passed
@philipliu philipliu deleted the feature/anchor-766-contracts branch January 16, 2025 23:20
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.

2 participants