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 the token creation and removal functionalities #196

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

Implement the token creation and removal functionalities #196

arianejasuwienas opened this issue Jan 15, 2025 · 1 comment
Labels
feature Enhancing an existing feature driven by business requirements. Typically backwards compatible.

Comments

@arianejasuwienas
Copy link
Contributor

arianejasuwienas commented Jan 15, 2025

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

These functionalities allow creating and removing fungible and non-fungible tokens in the Hedera network. The create methods handle token initialization, while remove functionality enables token deletion.

Interfaces 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Enhancing an existing feature driven by business requirements. Typically backwards compatible.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants