Skip to content

Add page about how to use Soroban contracts in Jupyter Notebooks - #854

Merged
leighmcculloch merged 4 commits into
mainfrom
i807
Aug 5, 2024
Merged

leighmcculloch merged 4 commits into
mainfrom
i807

Conversation

@leighmcculloch

Copy link
Copy Markdown
Member

What

Add page about how to use Soroban contracts in Jupyter Notebooks.

Why

Jupyter Notebooks support Rust, albeit experimental, and can run Soroban contracts. For some people Jupyter Notebooks is a useful tool for experimenting, teaching, documenting, and learning.

Close #807

@leighmcculloch
leighmcculloch marked this pull request as ready for review August 2, 2024 07:27
@leighmcculloch
leighmcculloch requested a review from janewang August 2, 2024 07:27
@leighmcculloch
leighmcculloch requested a review from fnando August 2, 2024 12:30
1 similar comment

To use Soroban contracts in a Jupyter Notebook, the following setup is required. The following setup uses Visual Studio Code, but any Jupyter client and server can be used.

:::caution

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the Caution box isn't set up correctly. The preview has the entire article in the Caution box!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, it needs an empty line after the opening admonition tag, and before the closing tag. like this

:::caution

Rust support in Jupyter ...

:::

@janewang

janewang commented Aug 2, 2024

Copy link
Copy Markdown
Contributor

We typically put image in the asset folder: 0a1cac6

@leighmcculloch
leighmcculloch merged commit 936d8e5 into main Aug 5, 2024
@leighmcculloch
leighmcculloch deleted the i807 branch August 5, 2024 00:13
janewang pushed a commit that referenced this pull request Sep 12, 2024
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.

Add a How-to Soroban contracts in Jupyter Notebooks page

6 participants