From 387be54fa4a94afbd4476123b9088f5fed9c5a24 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 21 Oct 2019 16:16:09 -0700 Subject: [PATCH] fix: bootstrap with 1 SOL --- src/replicator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/replicator.js b/src/replicator.js index 6282585..ea35221 100644 --- a/src/replicator.js +++ b/src/replicator.js @@ -12,6 +12,7 @@ import { sendAndConfirmTransaction, Account, SystemProgram, + SOL_LAMPORTS, } from '@solana/web3.js'; import fs from 'mz/fs'; import solanaInstallInit from './solana-install-init'; @@ -19,7 +20,7 @@ import sleep from './sleep'; import url from './url'; // TODO: https://github.com/solana-labs/solana/issues/4344 -const airdropAmount = 100000; +const airdropAmount = SOL_LAMPORTS; export default class Replicator { constructor(connection) {