How to use Studio
This page is about what Macha Dev studio is and how you can index and fetch data via Macha.
Last updated
This page is about what Macha Dev studio is and how you can index and fetch data via Macha.
Last updated
The Studio is the ultimate Developer Dashboard to view scattered smart contract transactions and metadata from all currently supported EVM-compatible chains.
Seamlessly access Real-Time transactions across chains like Polygon, Ethereum, and more.
Customize the dashboard for efficient Meta-Data management. You can easily publish smart contracts for the Macha node network to start indexing transactions and abstracting searchable data which can be viewed on the Macha Explorer.
Welcome to your new launchpad 👩🏽🚀
The Dev Studio is your place to Index, add metadata, and publish them to the new decentralized Explorer (more on that here).
Create a publisher account to publish a contracts on the studio. Start with connecting any wallet like, MetaMask, Rainbow, Coinbase Wallet, or WalletConnect.
After connecting your wallet. You can set up your publisher account through the two options shown below. So click on any of them.
Now a claimer will be displayed explaining what you can access as a publisher in our studio. After reading click Next
Your files and everything you will publish will be stored on a decentralized network. So, its safe. Click next.
Now you have to select how you want to publish your contract i.e. as an individual or as an organization. Let's go ahead with individual first. So click on Individual and then Next.
Now fill in your name + Email and click Save and You are almost there to confirm as a publisher. Click Confirm to enter into Decentralized Future!
Congratulations, Now you are a publisher. Start your publishing journey by clicking Create or skip. You can explore and create contracts on Macha Dev Studio
Once you are a publisher, you can start indexing and publishing your contracts. To publish any contract you will need to switch to the Filecoin calibration testnet, and then add TFIL tokens. After adding tokens to your wallet, you can start publishing.
Click on Indexers, there you will see indexed contracts and a button on the right left Create Contract.
Fill in your Contract Address, and chain ID on which you want to publish your contract and Read from ABI From Address. We will attempt to read the ABI of the “Contract address”, if this is a proxy contract then you can mention the address of the original contract in the “Read ABI From” field for us to fetch the ABI from. The contracts should be verified to fetch the ABI.
If the contract address mentioned is unverified then you have to fill ABI manually.
Fill in the details about the contract like the Contract Name, Slug, Description, and add a cover image. Click next To write the contract Slug follow this nomenclature → {contract name}_{name of the chain deployed on}. For example → macha_polygon, macha_ethereum, macha_base.
Add Interested Methods and Events on your contract and Now your contract is ready to create. These are the functions and events that will be indexed in your smart contract by Macha’s indexer nodes whenever a successful transaction happens on them.
Once you will click on create it will show you that you have created a contract and you can now preview your contract.
Now go to https://app.macha.ai/indexers, and you’ll see there is 1 in the contract created. It will take some time to be approved and listed on the main page.
Click on your contract, and now you can see all the details of your contract. You have a few options like Edit and Delete your contract.
After submission of your contract, the proposal will go for review. Once it's approved by the team, it will be published in the Indexers and the transactional details can be seen on your contract.
Explore Indexed Contracts: Welcome to the Indexers, or as we like to call it, your decentralized portal into the world of contracts and network data. 👩🏽🚀 The Indexers consists of multiple contracts where you can see the transaction stats of different contract happening on different chains all in one place.
For a general overview of the Indexers, check out the video below (or keep reading below):
Here are the things in detail you can track on Dashboard:
Contracts List: First things first, if you just finished publishing your contracts or want to explore other contracts in the Dev Studio, then you can there are different contracts listed on different chains.
Supporting Networks
We are supporting a wider range of chains like Ethereum, Goerli, Polygon, Optimism, Base, and Filecoin. So you can check the contracts listed on various chains.
For example you want to see contracts listed on the Ethereum chain, then click on All contracts → Select Ethereum.
Boom! You can see all the contracts listed on our Dev Studio on the Ethereum chain.
Contract details:
When you click into a contract, let's click on ENS contract, You’ll be able to be able to leverage various transaction stats and information about the contract.
On each Contract's dedicated page, several details are surfaced. These include:
→ Contract Address
→ Contract’s Owner Address
→ Chain ID and Name
→ Total Transactions
→ Txn Hash
→ Status
→ Method
→ Transactions in between Similar way this consolidated view simplifies the exploration of contract data all in one place, from small transaction stats to larger ones.