A WooCommerce extension for accepting Sikka
This plugin is rather simple but there are a few things that need to be set up before hand.
-
A web server! Ideally with the most recent versions of PHP and mysql
-
The Sikka simplewallet and Sikka walletd tools found here
-
WordPress Wordpress is the backend tool that is needed to use WooCommerce and this Sikka plugin
-
WooCommerce This Sikka plugin is an extension of WooCommerce, which works with WordPress
-
Downloading: First of all, you will need to download the plugin. You can download the latest release as a .zip file from https://github.com/unclemusclez/sikkawp/releases If you wish, you can also download the latest source code from GitHub. This can be done with the command
git clone https://github.com/unclemusclez/sikkawp.git
or can be downloaded as a zip file from the GitHub web page. -
Unzip the file sikkawp_release.zip if you downloaded the zip from the releases page here.
-
Put the plugin in the correct directory: You will need to put the folder named
sikka
from this repo/unzipped release into the wordpress plugins directory. This can be found atpath/to/wordpress/folder/wp-content/plugins
-
Activate the plugin from the WordPress admin panel: Once you login to the admin panel in WordPress, click on "Installed Plugins" under "Plugins". Then simply click "Activate" where it says "Sikka - WooCommerce Gateway"
To do this: start the sikka daemon on your server and leave it running in the background. This can be accomplished by running ./sikkad
inside your sikka downloads folder. The first time that you start your node, the sikka daemon will download and sync the entire sikka blockchain. This can take several hours and is best done on a machine with at least 4GB of ram, an SSD hard drive (with at least 15GB of free space), and a high speed internet connection.
Not Currently Available.
-
Setup a sikka wallet using the simplewallet tool.
-
Start the Wallet RPC and leave it running in the background. This can be accomplished by running
./walletd --bind-port 18082 --log-level 2 --wallet-file /path/walletfile
where "/path/walletfile" is your actual wallet file. If you wish to use a remote node you can add the--daemon-address
flag followed by the address of the node.
-
Navigate to the "settings" panel in the WooCommerce widget in the WordPress admin panel.
-
Click on "Checkout"
-
Select "Sikka GateWay"
-
Check the box labeled "Enable this payment gateway"
-
Enter your sikka wallet address in the box labled "Sikka Address". If you do not know your address, you can run the
address
commmand in your sikka wallet -
Enter the IP address of your server in the box labeled "Daemon Host/IP"
-
Enter the port number of the Wallet RPC in the box labeled "Daemon PORT" (will be
18082
if you used the above example). -
Enter the username and password that you want to use in their respective feilds
-
Click on "Save changes"
It is reccommended that you specify a username/password with your wallet rpc. This can be done by starting your wallet rpc with walletd --rpc-bind-port 18082 --rpc-login username:password --wallet-file /path/walletfile
where "username:password" is the username and password that you want to use, seperated by a colon. Alternatively, you can use the --restricted-rpc
flag with the wallet rpc like so ./walletd --testnet --rpc-bind-port 18082 --restricted-rpc --wallet-file wallet/path
.
XMR Address : 41kGrwzD9jzTgdRJbGZ3YbGBTJezqWYD1AGyRgBQkTmcXkyJoGABQ1V5ra1vxiQmd4Hk3dsuxbvqKR3sJqN9YN8y7v3oVWr
Sikka Address : 39eYXNT9K4w2oJyP8VVfbtRErPqnudarPZFRqABCrwbSEAs7Ma64sosS1rn1bzLDK4ZWwUiHfyWCcUBG1iVWVXKYUut3xsm