Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement token creation and deletion methods #196

Open
arianejasuwienas opened this issue Jan 15, 2025 · 1 comment
Open

Implement token creation and deletion methods #196

arianejasuwienas opened this issue Jan 15, 2025 · 1 comment
Labels
epic Groups a collection of related issues

Comments

@arianejasuwienas
Copy link
Contributor

arianejasuwienas commented Jan 15, 2025

This task involves implementing the functionalities for creating and deleting fungible and non-fungible tokens as defined in the IHederaTokenService.

These methods allow the user to create and delete fungible and non-fungible tokens in the Hedera network. The create*Token* methods handle token creation and initialization. On the other hand, the deleteToken method handles both Fungible and Non-Fungible tokens deletion.

Methods to implement

function createFungibleToken(
    HederaToken memory token,
    int64 initialTotalSupply,
    int32 decimals
) external payable returns (int64 responseCode, address tokenAddress);
function createFungibleTokenWithCustomFees(
    HederaToken memory token,
    int64 initialTotalSupply,
    int32 decimals,
    FixedFee[] memory fixedFees,
    FractionalFee[] memory fractionalFees
) external payable returns (int64 responseCode, address tokenAddress);
function createNonFungibleToken(HederaToken memory token)
    external payable returns (int64 responseCode, address tokenAddress);
function createNonFungibleTokenWithCustomFees(
    HederaToken memory token,
    FixedFee[] memory fixedFees,
    RoyaltyFee[] memory royaltyFees
) external payable returns (int64 responseCode, address tokenAddress);
function deleteToken(address token) external returns (int64 responseCode);
@arianejasuwienas arianejasuwienas added the feature Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Jan 15, 2025
@arianejasuwienas arianejasuwienas changed the title Implement the token creation and removal functionalities defined in the IHederaTokenService Implement the token creation and removal functionalities Jan 15, 2025
@acuarica
Copy link
Contributor

Thanks @arianejasuwienas for creating this, looks good.

I've removed it from the parent issue. We can tackle this later on, as I'm yet not sure how this can be implemented in both Foundry and Hardhat. We need to write down some design doc in order to implement this.

@acuarica acuarica changed the title Implement the token creation and removal functionalities Implement token creation and deletion methods Jan 16, 2025
@acuarica acuarica added epic Groups a collection of related issues and removed feature Enhancing an existing feature driven by business requirements. Typically backwards compatible. labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Groups a collection of related issues
Projects
Status: Backlog
Development

No branches or pull requests

2 participants