You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AgentKit ERC20 Deployer Action Provider that allows users to easily create, customize, and deploy ERC-20 token smart contracts without requiring extensive blockchain development knowledge or environment.
This tool will require pre deployed ERC20 Deployer Factory Contract deployed by CDP or Users.
Example contract:
// SPDX-License-Identifier: MITpragma solidity^0.8.0;
// Import OpenZeppelin's ERC20 standard implementation.import"@openzeppelin/contracts/token/ERC20/ERC20.sol";
import"./CustomERC20.sol";
/** * @title ERC20Deployer * @dev A contract to deploy new CustomERC20 contracts. */contractERC20Deployer {
event TokenDeployed(addressindexedtokenAddress, addressindexeddeployer);
/** * @notice Deploys a new CustomERC20 token contract. * @param name The name of the token. * @param symbol The token symbol. * @param amount The initial supply to be minted (in the smallest unit). * @param mintAddress The address to receive the initial minted tokens. * @return tokenAddress The address of the newly deployed token contract. */function deployToken(
stringmemoryname,
stringmemorysymbol,
uint256amount,
addressmintAddress
)
publicreturns (addresstokenAddress)
{
CustomERC20 token =newCustomERC20(name, symbol, amount, mintAddress);
emitTokenDeployed(address(token), msg.sender);
returnaddress(token);
}
}
🚀 The feature, motivation and pitch
AgentKit ERC20 Deployer Action Provider that allows users to easily create, customize, and deploy ERC-20 token smart contracts without requiring extensive blockchain development knowledge or environment.
This tool will require pre deployed ERC20 Deployer Factory Contract deployed by CDP or Users.
Example contract:
Alternatives
No response
Additional context
https://github.com/berkingurcan/BasevenueWolf/blob/main/contracts/contracts/ERC20Deployer.sol
https://github.com/berkingurcan/BasevenueWolf/blob/main/lib/ai-agents/tokenManagerProvider.ts
The text was updated successfully, but these errors were encountered: