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

chore: update examples to use jsonrpc and cairo 1 accounts #540

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

xJonathanLEI
Copy link
Owner

The current examples use the sequencer gateway, which has already been deprecated, and does not work in most cases.

Note

It technically still works in the get_block example. But it's better to teach a new user to use JSON-RPC for that.

The PR also updates the account encoding from Legacy to New, considering that new users now most likely have Cairo 1 accounts.

@xJonathanLEI xJonathanLEI merged commit acdbeae into master Feb 3, 2024
24 checks passed
@xJonathanLEI xJonathanLEI deleted the dev/examples branch February 3, 2024 10:18
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.

1 participant