Minting large sums of libra on testnet

Thanks for creating libra!
Currently, minting errors out with large quantities.

Maximum seems to be at 1 million libra, not 1000000000000.

Invalid number of arguments for balance query
libra% query balance 0
Balance is: 250
libra% query balance 1
Balance is: 250
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 18446744073709551616
>> Minting coins
[ERROR] Error minting coins: Input value is too big: "18446744073709551616", max: 18446744073709.551615
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 18446744073709.551615
>> Minting coins
[ERROR] Error minting coins: Failed to query remote faucet server[status=400 Bad Request]: "Exceeded max mint amount of 1000000000000"
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 1000000000000
>> Minting coins
[ERROR] Error minting coins: Failed to query remote faucet server[status=400 Bad Request]: "Exceeded max mint amount of 1000000000000"
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 999999999999


>> Minting coins
[ERROR] Error minting coins: Failed to query remote faucet server[status=400 Bad Request]: "Exceeded max mint amount of 1000000000000"
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 999999999999
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 999999999999
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 999999999750
>> Minting coins
[ERROR] Error minting coins: Failed to query remote faucet server[status=400 Bad Request]: "Exceeded max mint amount of 1000000000000"
libra% account mint 1d6b0a22c50341d867d5468e8c39b94e1794382c5d940cd4ca4cba5ffd95526d 999999999749
1 Like

@satoshi: There’s a hard limit on minting 1 million Libra coins for a mint operation at the moment.

1 Like

Also, unfortunately there’s a bug in the CLI where it reports the max mint amount in Microlibra whereas the input is in Libra.

1 Like

Thanks for reporting! We have a fix for this and will probably push it out tomorrow.

2 Likes

Good day, how does one buy or get libra coins, or minting?

Thanks for clarifying @abhay @brettp

Hi @Ray, We’ve only announced the testnet. There is nothing you can purchase at this time. For testing purposes, new coins can be minted – check out the documentation: https://developers.libra.org/docs/my-first-transaction