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

fix: remove save contract #1967

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/app/sandbox/deploy/LeftSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,6 @@ export function LeftSection() {
</Stack>
</Stack>
<Stack gap={2}>
<Button
variant="secondary"
rightIcon={<ArrowSquareOut />}
onClick={() => {
const paramsBase64 = { name: contractName, sourceCode: codeBody };
const state = btoa(JSON.stringify(paramsBase64));

// 'state' param is used by Auth0 to forward the params after the login portal
window.open(`https://platform.hiro.so/projects/import?state=${state}`);
}}
width="100%"
>
Save Contract in Hiro Platform
</Button>
<Text fontSize="xs" as="p">
The sandbox doesn't support Clarity 3 deployments. To deploy a Clarity 3 contract,
please use{' '}
Expand Down
Loading