Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
crowdstart-checkout
Advanced tools
Our checkout widget makes it possible to start taking pre-orders in minutes, and is quite customizable.
Set the href
of your button to #checkout
.
<a class="btn" href="#checkout">Buy Now</a>
Configure the checkout widget however you'd like.
<script src="https://rawgit.com/crowdstart/checkout/master/checkout.js"></script>
<script>
// Create a new client for Crowdstart API.
var api = new Crowdstart.API('eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJiaXQiOjI0LCJqdGkiOiJVMDc0RlU3MHVhWSIsInN1YiI6IkVxVEdveHA1dTMifQ.g_MqPv2s0DnyFdhkUMzYn9mtKaXNwmlEM14WcFq_s5Yd2eqH16TB9thxOdDE8ylcoBMgyI3eimSHJxGq7oj-EA')
// Create default order, should match whatever the user is trying to pre-order
var order = new Crowdstart.Order('usd',[
new Crowdstart.ItemRef('84cRXBYs9jX7w', -1),
new Crowdstart.ItemRef('doge-shirt', 100)
]);
// Create default user (pre-populated in form fields)
var user = new Crowdstart.User('joe@fan.com', 'Joe', 'Fan')
// Social sharing settings
var config = {
facebook: 'suchtees',
googlePlus: 'suchtees',
twitter: 'suchtees',
}
// Customize theme
Crowdstart.setTheme({
borderRadius: 5,
})
// Instantiate widget, can be called multiple times, overriding order in widget.
Crowdstart.Checkout('checkout', api, order, user, config);
</script>
You can find examples in examples/. You can also see it in action in the Crowdstart documentation.
To test locally, phantomjs2 must be installed.
FAQs
One Click Checkout for Crowdstart
The npm package crowdstart-checkout receives a total of 4 weekly downloads. As such, crowdstart-checkout popularity was classified as not popular.
We found that crowdstart-checkout demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.