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

Inline sol #1385

Open
roninjin10 opened this issue Aug 18, 2024 · 1 comment
Open

Inline sol #1385

roninjin10 opened this issue Aug 18, 2024 · 1 comment

Comments

@roninjin10
Copy link
Collaborator

Description

Inline solidity will make doing things like deployless calls super ergonomic

Example

import { sol } from 'tevm'

const {abi, deployedBytecode} = sol`
write a contract here
`

useReadContract({
  abi,
  code: deployedBytecode,
  functionName: 'run',
})
Copy link

linear bot commented Aug 18, 2024

TEV-1361 Inline sol

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

No branches or pull requests

1 participant