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

0.1.0(ts): deploy contract #201

Conversation

stat
Copy link
Contributor

@stat stat commented Jan 31, 2025

What changed? Why?

  • deploy nft

Tested

[x] local chatbot w/cdp wallet

Prompt: deploy a custom contract called MyContract that has a view function that says Hello there. Use the latest solidity version.

-------------------
Wallet Details:
- Provider: cdp_wallet_provider
- Address: 0x349002E7213E7F7CF68a8368ca83Fd85CEC4DDB0
- Network:
  * Protocol Family: evm
  * Network ID: base-sepolia
  * Chain ID: 84532
- Native Balance: 1241126374916614680
-------------------

-------------------
Error deploying contract: APIError{httpCode: 400, apiCode: solidity_input_compilation_error, apiMessage: Compilation failed with errors:
[ERROR] "settings.outputSelection.*.*" must be a string array, correlationId: 90a864430ae46841-IAD}
-------------------

-------------------
Error deploying contract: APIError{httpCode: 400, apiCode: solidity_input_compilation_error, apiMessage: Compilation failed with errors:
[ERROR] "settings.outputSelection.*.*" must be a string array, correlationId: 90a8645439156841-SEA}
-------------------

-------------------
Error deploying contract: APIError{httpCode: 400, apiCode: solidity_input_compilation_error, apiMessage: Compilation failed with errors:
[ERROR] "settings.outputSelection.*.*" must be a string array, correlationId: 90a86465df6b6841-SEA}
-------------------

-------------------
Error deploying contract: APIError{httpCode: 400, apiCode: solidity_input_compilation_error, apiMessage: Compilation failed with errors:
[ERROR] "settings.outputSelection.*.*" must be a string array, correlationId: 90a8647a2e1a6841-SEA}
-------------------

-------------------
Deployed contract MyContract at address 0x9Eeb124AE225cBB7B3CA80f8CfB794b6C1b6667a. Transaction link: https://sepolia.basescan.org/tx/0x65f9afb5a488207e0524a40ce2ac5813706f0d3279862b6b81e230e59da13f69
-------------------
The contract **MyContract** has been successfully deployed at address **0x9Eeb124AE225cBB7B3CA80f8CfB794b6C1b6667a**.

You can view the transaction details [here](https://sepolia.basescan.org/tx/0x65f9afb5a488207e0524a40ce2ac5813706f0d3279862b6b81e230e59da13f69).

The contract contains a view function that returns "Hello there". If you need anything else, feel free to ask!
-------------------

Qualified Impact

@cb-heimdall
Copy link

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@stat stat changed the base branch from master to 0.1.0-release January 31, 2025 08:44
@stat stat marked this pull request as ready for review January 31, 2025 08:51
@John-peterson-coinbase John-peterson-coinbase merged commit 369cba0 into 0.1.0-release Jan 31, 2025
18 checks passed
@John-peterson-coinbase John-peterson-coinbase deleted the christopher.gerber/0.1.0/ts/deploy-contract branch January 31, 2025 15:02
0xRAG pushed a commit that referenced this pull request Jan 31, 2025
* first pass adding deploy contract cdp action

* linting

* the lost file

* tests
John-peterson-coinbase pushed a commit that referenced this pull request Feb 1, 2025
* first pass adding deploy contract cdp action

* linting

* the lost file

* tests
John-peterson-coinbase added a commit that referenced this pull request Feb 1, 2025
* 0.1.0 initial scaffolding (#175)

* chore: fix lint (#177)

* chore: migrate basename action (#176)

* chore: CDP, Farcaster, ERC721 action providers (#181)

* CDP, Farcaster, ERC721 ActionProvider

* README erc721

* chore: migrate erc20 action (#182)

* 0.1.0(ts): morpho actions (#184)

* chore: migrate erc20 getBalance (#186)

* chore: fix npm scripts, linting and bump lint packages (#179)

* chore: migrate erc721 getBalance (#188)

* chore: migrate wrap eth action (#189)

* chore: langchain helper to convert actions to tools (#190)

* 0.1.0(ts): wow actions (#191)

* chore: migrate get wallet details (#192)

* 0.1.0(ts): twitter actions (#193)

* chore: eslint import order (#194)

* chore: map chainId to networkId (#196)

* chore: fix typo (#197)

* chore: migrate deploy token (#198)

* 0.1.0(ts): deploy contract (#201)

* first pass adding deploy contract cdp action

* linting

* the lost file

* tests

* 0.1.0(ts): adding eth balance to wallet details (#199)

* feat: Client side metrics (#195)

* 0.1.0(ts): deploy nft (#200)

* chore: rename typescript files and folders (#203)

* chore: split out cdp wallet and cdp api actions (#204)

* chore: migrate trade action (#208)

* twitter chatbot example (#205)

* 0.1.0(ts): farcaster example (#206)

* chore: cdpApiActionProvider usage (#211)

* chore: prefix action name (#210)

* chore: set default action provider to wallet action provider (#212)

* 0.1.0(ts): wallet native token transfer (#213)

Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>

* fix: use prefix notation that plays nicely with langchain (#217)

* feat: support custom action provider (#214)

* 0.1.0(ts): cdp wallet provider (#218)

Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>

* feat: CdpWalletProvider sendTransaction

* fix cdp provider config fields

* docs + dir structure refactor

* add language level readmes

* release ready!

* fix agentkit-langchain unit tests

* fix python unit test GHA poetry relative paths

* update poetry lock files

---------

Co-authored-by: Ryan Gilbert <ryangilbert7926@gmail.com>
Co-authored-by: Chris Gerber <csgerber@gmail.com>
murrlincoln pushed a commit to murrlincoln/agentkit that referenced this pull request Feb 8, 2025
* 0.1.0 initial scaffolding (coinbase#175)

* chore: fix lint (coinbase#177)

* chore: migrate basename action (coinbase#176)

* chore: CDP, Farcaster, ERC721 action providers (coinbase#181)

* CDP, Farcaster, ERC721 ActionProvider

* README erc721

* chore: migrate erc20 action (coinbase#182)

* 0.1.0(ts): morpho actions (coinbase#184)

* chore: migrate erc20 getBalance (coinbase#186)

* chore: fix npm scripts, linting and bump lint packages (coinbase#179)

* chore: migrate erc721 getBalance (coinbase#188)

* chore: migrate wrap eth action (coinbase#189)

* chore: langchain helper to convert actions to tools (coinbase#190)

* 0.1.0(ts): wow actions (coinbase#191)

* chore: migrate get wallet details (coinbase#192)

* 0.1.0(ts): twitter actions (coinbase#193)

* chore: eslint import order (coinbase#194)

* chore: map chainId to networkId (coinbase#196)

* chore: fix typo (coinbase#197)

* chore: migrate deploy token (coinbase#198)

* 0.1.0(ts): deploy contract (coinbase#201)

* first pass adding deploy contract cdp action

* linting

* the lost file

* tests

* 0.1.0(ts): adding eth balance to wallet details (coinbase#199)

* feat: Client side metrics (coinbase#195)

* 0.1.0(ts): deploy nft (coinbase#200)

* chore: rename typescript files and folders (coinbase#203)

* chore: split out cdp wallet and cdp api actions (coinbase#204)

* chore: migrate trade action (coinbase#208)

* twitter chatbot example (coinbase#205)

* 0.1.0(ts): farcaster example (coinbase#206)

* chore: cdpApiActionProvider usage (coinbase#211)

* chore: prefix action name (coinbase#210)

* chore: set default action provider to wallet action provider (coinbase#212)

* 0.1.0(ts): wallet native token transfer (coinbase#213)

Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>

* fix: use prefix notation that plays nicely with langchain (coinbase#217)

* feat: support custom action provider (coinbase#214)

* 0.1.0(ts): cdp wallet provider (coinbase#218)

Co-authored-by: John Peterson <98187317+John-peterson-coinbase@users.noreply.github.com>

* feat: CdpWalletProvider sendTransaction

* fix cdp provider config fields

* docs + dir structure refactor

* add language level readmes

* release ready!

* fix agentkit-langchain unit tests

* fix python unit test GHA poetry relative paths

* update poetry lock files

---------

Co-authored-by: Ryan Gilbert <ryangilbert7926@gmail.com>
Co-authored-by: Chris Gerber <csgerber@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants