Open antoine-dowgo opened 1 year ago
For now, read on the smart contract wether the user is whitelisted or not
Misc:
@oscar-dowgo please send me mailchimp link and see if I can be added to account to query list of users
Copy & paste this code into your website's HTML where you want the form to appear.
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-071822.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; width:600px;}
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://dowgo.us21.list-manage.com/subscribe/post?u=389cec789e7c3ea7cb5fc5e67&id=6f5867262d&f_id=0069f5e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Whitelist </h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-ETHKEY">Ethereum Public Key <span class="asterisk">*</span>
</label>
<input type="text" value="" name="ETHKEY" class="required" id="mce-ETHKEY" required>
<span id="mce-ETHKEY-HELPERTEXT" class="helper_text"></span>
</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required>
<span id="mce-EMAIL-HELPERTEXT" class="helper_text">exemple@domain.com</span>
</div>
<div class="mc-field-group">
<label for="mce-COUNTRY">Country </label>
<input type="text" value="" name="COUNTRY" class="" id="mce-COUNTRY">
<span id="mce-COUNTRY-HELPERTEXT" class="helper_text"></span>
</div>
<div id="mce-responses" class="clear foot">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_389cec789e7c3ea7cb5fc5e67_6f5867262d" tabindex="-1" value=""></div>
<div class="optionalParent">
<div class="clear foot">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
<p class="brandingLogo"><a href="http://eepurl.com/iluRXT" title="Mailchimp - email marketing made easy and fun"><img src="https://eep.io/mc-cdn-images/template_images/branding_logo_text_light_dtp.svg"></a></p>
</div>
</div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[1]='ETHKEY';ftypes[1]='text';fnames[0]='EMAIL';ftypes[0]='email';fnames[7]='COUNTRY';ftypes[7]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
@antoine-dowgo here is the link http://eepurl.com/ilrFzf
I'm using this : https://blog.afrieirham.com/how-to-integrate-mailchimp-with-react
Update:
We also need to indicate how to get testnet eth... but you said you had some by default on your account @oscar-dowgo ?
Yes I had like 0.01ETH by default on Sepolia and it is enough