anza-xyz / solana-pay

A new standard for decentralized payments.
https://solanapay.com
Apache License 2.0
1.29k stars 450 forks source link

End point #180

Closed flodef closed 1 year ago

flodef commented 1 year ago

Make the CLUSTER_ENDPOINT available to browser to be able to change it from the environment settings all at once. Add constants to be able to select the currency and infers its dependencies directly in MainApp : all the hard coded variables are now dynamic (extracted from constants)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solana-pay ✅ Ready (Inspect) Visit Preview Dec 12, 2022 at 1:06AM (UTC)
solana-pay-docs ✅ Ready (Inspect) Visit Preview Dec 12, 2022 at 1:06AM (UTC)
jordaaash commented 1 year ago

Thanks, but we aren't making many changes (e.g. currency selection) to the Point of Sale example.

flodef commented 1 year ago

Thanks, but we aren't making many changes (e.g. currency selection) to the Point of Sale example.

What ?! You prefer to have hard coded values and ask people to change the currency by writing code (see how in the README.md file), instead of just changing a setting parameter in Vercel ???