Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [ape]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
3 answers
74 views

Chainlink VRF Contract Logic Error

I am beginning my journey in web3 so please be understanding 🙂 I am struggling to find an issue in my contract that uses VRF. It is a simple coinflip written in Vyper. I have deployed a consumer and ...
szaleju's user avatar
0 votes
0 answers
58 views

has anyone seen this error installing ape?[fixed]

I have ethash installed from C:\block\ethash and i ran pip install eth-ape in C:\block when i got this at the end Building wheels for collected packages: pyethash Building wheel for pyethash (...
Uttam's user avatar
  • 1
0 votes
1 answer
580 views

How to call `quoteExactInputSingle` on quoter2 uniswap using python

I'm trying to call like this in ape def SushiswapV3quoteExactInputSingleV3( router, _from, tokenIn: str, tokenOut: str, fee: int, amountIn: int, sqrtPriceLimitX96: int = 0, ...
Saikat Karmakar's user avatar
0 votes
1 answer
34 views

How to remov installed package with Ape Python smart contract framework?

Does anybody know how to remove package installed with ape pm? Brownie has brownie ethpm remove [package-name] Or I should just delete folder in ~/.ape/packages?
Ilija's user avatar
  • 41
1 vote
0 answers
71 views

How can we get the result of swap in curve.fi like `getAmountsOut` for uniswapV2

I'm trying to get the price for the swap WETH->DAI by calling get_dy but there is no direct pool in curve. I went to the UI & put in this swap & got this. tricypto: WETH -> USDT -> ...
Saikat Karmakar's user avatar
0 votes
1 answer
40 views

How to get the current block in apeworx?

How do I get the current block in apeworx?
Patrick Collins's user avatar
1 vote
1 answer
801 views

Inconsistency in recovered account when verifying EIP-712 (javascript / python)

I have a client that signs EIP-712 messages: eip_712.js (dep: ethers: 5.7.1) const { Wallet } = require("@ethersproject/wallet"); const { _TypedDataEncoder } = require("@ethersproject/...
nz_'s user avatar
  • 180
1 vote
1 answer
72 views

How to get the network you're currently on in apeworx?

In apeworx, I can run: ape run scripts/deploy_contract.py --network rinkeby How do I know that I'm on the rinkeby chain in my python deploy_contract.py script?
Patrick Collins's user avatar