Hello, where can i look for a good tutorial for the following use case: I have a BSC contract. That contract is encrypted and offers no ABI visible. I was able to decompile it with a decompiler and the out put makes sense. The creator of the contract is trusworthy for me. I now want to make some tests agains the contract and want to interact with it. Where can i find a good step by step guide or infos that will provide me some indeas how to proceed?

Aug 16, 2023, 3:24 PM
CHatGPT is there a not that good source of information :D
Aug 16, 2023, 3:26 PM
There is no such thing as an encrypted contract
Aug 16, 2023, 3:28 PM
then call it private, not public contract
Aug 16, 2023, 3:33 PM
can you share link?
Aug 16, 2023, 3:43 PM
example https://bscscan.com/address/0xE5913A0358d1600fBF3D73DF2F1e2d791228A8b1#code
Aug 16, 2023, 3:48 PM
the contract creator needs to verify it themselves
then it will show
Aug 16, 2023, 4:09 PM
can i some how create an ABI for myself?
Aug 16, 2023, 4:17 PM
1) go on remix and write a contract
2) compile it
3) select it from the dropdown menu
4) press the ABI button to copy it

[
{
"inputs": [
{
"internalType": "uint256",
"name": "unAbi",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "bool",
"name": "abii",
"type": "bool"
}
],
"name": "abiAbiAbi",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Aug 16, 2023, 4:50 PM
It's not private, just the code is not verified
Aug 16, 2023, 11:57 PM

© 2024 Draquery.com All rights reserved.