Bitcoin Forum
June 16, 2021, 12:27:33 AM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Read information from smart contract  (Read 252 times)
PavelVashpanov
Newbie
*
Offline Offline

Activity: 12
Merit: 8


View Profile
January 30, 2019, 03:50:30 PM
Merited by zororaka (4), Vod (2), mikeywith (1), miningnew (1)
 #1

What’s up, community!
During the last week,  I have been developing a new service. And I would share current results here.

Abi2Api simplifies the work with blockchain and smart contracts. No longer required knowledge of the web3 library and JavaScript language. Get absolutely full information about the smart contract by pressing a single button. All you need is the address of the contract.

The function which is currently available - reading smart contracts.
The process of getting information about the functions inherent in the smart contract became much easier. We would note that service allows you to view the functions either requiring additional information or without entering additional data (without “inputs”) or (with “inputs”).

It’s not a final version. In the immediate future, the application will also provide the deploy functions and direct interaction with the functions of smart contact.

Android mobile app: https://yadi.sk/d/4qEQW1rXNbZR1g
Website: https://abi2api.jury.online
1623803253
Hero Member
*
Offline Offline

Posts: 1623803253

View Profile Personal Message (Offline)

Ignore
1623803253
Reply with quote  #2

1623803253
Report to moderator
1623803253
Hero Member
*
Offline Offline

Posts: 1623803253

View Profile Personal Message (Offline)

Ignore
1623803253
Reply with quote  #2

1623803253
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1623803253
Hero Member
*
Offline Offline

Posts: 1623803253

View Profile Personal Message (Offline)

Ignore
1623803253
Reply with quote  #2

1623803253
Report to moderator
khaled0111
Legendary
*
Offline Offline

Activity: 1456
Merit: 1556



View Profile WWW
January 30, 2019, 04:50:51 PM
 #2

I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

███████████████████████████
█████████▀▄▄▄▄▄██▀▀████████
█████▀▄█▀▀▄▄▄▄▄▄▄▀▀▄▄▀█████
████ █▀▄███████████▄▀██████
███▄█ ███████▀ ██████ █ ███
██▀█ ███  ▀▀█  ▀██████ █ ██
██ █ ████▄▄      ▀▀▀██ █ ██
██ █ █████▌        ▄██ ████
███▄█ █████▄▄   ▄▄███ █▀███
████▀█▄▀█████▌  ▀██▀▄█ ████
█████▄▀▀▄▄▀▀▀▀   ▄▄█▀▄█████
████████▄██▀▀▀▀▀▀██████████
███████████████████████████
      ██▄▄█▄▄██ █▄  ▄▄
      █████████
      ▐███████████▌
     ▄█
██████████████
     ▄▄▄▄
█▀▄▄▄▄  ▄▄▄
    ▄
▀▀▀ ▄█████▀ ▄██▀
██
  ▄
███▄▄▀▀▀▀███▀▀▀▄▄███
  ▄
██████████████████
   ███▄▄          ▄▄███
  ▄
██████████████████████▄
▄█
███
██████████████████▀▀▀▀
 ▀▀▀ ▀▀▀
██████████▀▀▀▀▀
▄▄███████████████████████▄▄
SUPER ROO'S $100,000 RESCUE
        ►   JOIN THE RAFFLE NOW!                   

▄▄███████▄▄
▄█████▀█▀█████▄
████▀▀▀ ▀ ▀▀█████
███████  ██  ▐█████
███████      ▀█████
███████  ███  █████
████▄▄▄   ▄▄▄████
▀█████▄█▄█████▀
▀▀███████▀▀

▄▄▄▄▄▄▄
▀▀███████▀▀

▄▄███████▄▄
▄██████▀██████▄
███████▀ ▀███████
███████     ███████
██████▄     ▄██████
██████▄▀▄▄▄▀▄██████
██████▄   ▄██████
▀██████▄██████▀
▀▀███████▀▀

▄▄▄▄▄▄▄
▀▀███████▀▀

▄▄███████▄▄
▄█████████████▄
███████▌ ▐███████
████████  █████████
█████▀▀   ▄▄███████
███████  ██████████
█████▌      ▄████
▀█████████████▀
▀▀███████▀▀

▄▄▄▄▄▄▄
▀▀███████▀▀
.
BITCOIN
ETHEREUM
LITECOIN
..PLAY NOW..
mikeywith
Legendary
*
Offline Offline

Activity: 1162
Merit: 3646


be constructive or S.T.F.U


View Profile
January 31, 2019, 01:57:44 AM
 #3

I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

i tried it and it works, maybe there is something up with your address/code?

OP ,i noticed that your code does not check for leading/trailing spaces
also i have to refresh the page every time i make a typo, the page gets stuck with empty code until i refresh it.

good work.

joniboini
Legendary
*
Offline Offline

Activity: 1316
Merit: 1528


Be careful of impostor. Ask for a signed message.


View Profile
January 31, 2019, 04:13:06 AM
 #4

I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

As the result suggest, it seems your contract has an incorrect format and therefore his apps can't return the output. It would be glad if it shows which one is incorrect.

The OP apps, at this initial stage, more or less looks like Etherscan read function, but we can't interact with it yet (can't query balanceOf, etc). Nice apps, looking forward to further development.

▄▄█████████▄▄
▄█▀███████████████▄
▄█▀  █████████████████▄
▄█   ▐██████████████████▄
▄█    ████████████████████▄
█▌ ██ ███████████████████
█▌    ▐███████████████████
█▌     ██████████████████
▀█  ██ ▀██████████████████▀
▀█      ▀███████████████▀
▀█▄   ██ ▀████████████▀
▀█▄▄      ▀███████▀
▀▀█▄▄▄▄▄▄▄█▀▀
||THE BEST GLOBAL CURRENCY FOR THE ENVIRONMENT
RUN ON THE BEST NETWORK, BINANCE SMART CHAIN

█ ██ ███ ████ ████████████████  powered by the moon         
||||     ▄▀▀▀▀▀▄▀▀▄
    ▄▀ ▄▀  ▀▄ ▀▄
    █  █    █  █
 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
 ████████████████▌
 ██████████████████▌
 ██████████████████▌
▐██████████████████████████
▐██████████████ ████ ██████
▐██████████████ ████ ██████▌
███████████████ ▀██▀ ██████▌
████████████████▄▄▄▄████████
████████████████████████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
PavelVashpanov
Newbie
*
Offline Offline

Activity: 12
Merit: 8


View Profile
January 31, 2019, 01:51:11 PM
 #5

I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

i tried it and it works, maybe there is something up with your address/code?

OP ,i noticed that your code does not check for leading/trailing spaces
also i have to refresh the page every time i make a typo, the page gets stuck with empty code until i refresh it.

good work.

Thanks for feedback. I will work and develop.
PavelVashpanov
Newbie
*
Offline Offline

Activity: 12
Merit: 8


View Profile
January 31, 2019, 02:00:04 PM
 #6

I tryed different contract addresses and keep getting this error:
Quote
"This contract has errors. Some ABI functions have incorrect format. Please input another address"

As the result suggest, it seems your contract has an incorrect format and therefore his apps can't return the output. It would be glad if it shows which one is incorrect.

The OP apps, at this initial stage, more or less looks like Etherscan read function, but we can't interact with it yet (can't query balanceOf, etc). Nice apps, looking forward to further development.

Thanks for the feedback. I will work and develop.
PavelVashpanov
Newbie
*
Offline Offline

Activity: 12
Merit: 8


View Profile
January 31, 2019, 02:09:47 PM
 #7

Why would read the information.  Smiley

Firstly, for api integration. Any other projects that need to receive information directly from contract (platform for transactions, ico aggregator etc.) can send a request for api applications and build it in their platforms.

Secondly, for those who want receive reliable information about contract/project quickly.

Thirdly, I don’t plan to stop on reading. That’s why I need the opinion of the community, to understand which way to go.
Stedsm
Legendary
*
Offline Offline

Activity: 2422
Merit: 1235



View Profile
January 31, 2019, 02:55:19 PM
 #8

It worked, but I'd suggest a few more things to be added to it: Balance of that smart contract, should also fetch name of project (if attached) for which the smart contract was created, as well as the category in which the project comes in. It'd also be more good if you could add an extra column below with all this information put up simple instead of coded style.

miningnew
Hero Member
*****
Offline Offline

Activity: 854
Merit: 501


View Profile
February 02, 2019, 03:35:42 AM
 #9

It’s the beginning ant it’s a beta version I suppose (or a 1.0) but thank you for this initiative!
Actually to “read” a smart contrat, you’ve to be really smart too!  Cheesy
Through initiatives of this type, crypto become more accessible and people-friendly
Piggy
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1415



View Profile WWW
February 02, 2019, 07:38:42 AM
Last edit: February 04, 2019, 06:44:04 AM by Piggy
 #10

This is similar to what etherscan does. They have an api system as well for it as far as i can see https://etherscan.io/apis#contracts

Anyway good job, it may come something interesting out of it Wink
crypto.james
Member
**
Offline Offline

Activity: 135
Merit: 12


View Profile
February 04, 2019, 01:48:17 AM
 #11

That’s nice let me check . If would be nice if you create an API and let the people allow to use your APi on their websites
zororaka
Copper Member
Member
**
Offline Offline

Activity: 82
Merit: 55


View Profile
February 08, 2019, 04:27:06 PM
 #12

Good job, very important. I like your site, because very useful. I hope it will be developed again

143ad3aasywTdJbFpJnHaerwEF4huFd1Z9
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!