Skip to content

Commit

Permalink
WIP: revert test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed May 3, 2022
1 parent af19751 commit 7854719
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/MintHero.tsx
Expand Up @@ -62,7 +62,7 @@ export const MintHero = () => {
payload: {
scAddress: smartContractAddress,
funcName: 'getMintedPerAddressTotal',
args: address ? [Address.fromString(address)?.hex()] : [],
args: address ? [Address.fromBech32(address)?.hex()] : [],
},
autoInit: Boolean(address),
});
Expand Down
10 changes: 5 additions & 5 deletions config/nftSmartContract.ts
Expand Up @@ -4,16 +4,16 @@

// Elven Tools NFT Smart Contract address - replace it with yours
export const smartContractAddress =
'erd1qqqqqqqqqqqqqpgqkzgvvwad2mjgv9j4z9k4adgd75hwk5zygtksf8wgpz';
'erd1qqqqqqqqqqqqqpgq5maff85xn0t3r8wr3zn4vhthej9c2ne2gtks8u4tr3';

// Amount of the NFTs in the collection
export const collectionSize = 10000;
export const collectionSize = 384;

// Number of the NFTs for one address in total
export const tokensLimitPerAddressTotal = 1000;
export const tokensLimitPerAddressTotal = 3;

// Collection ticker
export const collectionTicker = 'ABCD-d34sa';
export const collectionTicker = 'HAHAHA-5c4481';

// Start or pause minting process. UI will react on this. Remember to keep itin in sync with Smart Contract. This is very important.
export const isMintingStarted = true;
Expand All @@ -22,7 +22,7 @@ export const isMintingStarted = true;
export const isDropActive = false;

// The number of the NFTs for one address per current active drop can be ignored if there are no drops active
export const tokensLimitPerAddressPerDrop = 4;
export const tokensLimitPerAddressPerDrop = 0;

// Enable/Disable allowlist. UI will react on this. Remember to keep it in in sync with Smart Contract. This is very important.
export const isAllowlistEnabled = false;
Expand Down

0 comments on commit 7854719

Please sign in to comment.