Skip to content

Commit a3f77ae

Browse files
committed
revert changes
1 parent 92017f2 commit a3f77ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/demo/src/components/Psp22Board.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { txToaster } from '@/utils/txToaster.tsx';
1111
export default function Psp22Board() {
1212
const { contract } = useContract<Psp22ContractApi>(ContractId.PSP22);
1313
const { connectedAccount } = useTypink();
14-
const mintTx = useContractTx(contract, 'psp22Transfer');
14+
const mintTx = useContractTx(contract, 'psp22MintableMint');
1515
const inputAddressRef = useRef<HTMLInputElement>(null);
1616
const [address, setAddress] = useState('');
1717
const [watch, setWatch] = useState(false);
@@ -64,7 +64,7 @@ export default function Psp22Board() {
6464
const toaster = txToaster('Signing transaction...');
6565
try {
6666
await mintTx.signAndSend({
67-
args: ['5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY', BigInt(10000000000000000 * Math.pow(10, tokenDecimal)), '0x'],
67+
args: [BigInt(100 * Math.pow(10, tokenDecimal))],
6868
callback: ({ status }) => {
6969
console.log(status);
7070

0 commit comments

Comments
 (0)